-
Notifications
You must be signed in to change notification settings - Fork 54k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vimrc]: cscope: implement cnext/cprev shortcuts #655
base: master
Are you sure you want to change the base?
Conversation
Hi @LazarRazvan! Thanks for your contribution to the Linux kernel! Linux kernel development happens on mailing lists, rather than on GitHub - this GitHub repository is a read-only mirror that isn't used for accepting contributions. So that your change can become part of Linux, please email it to us as a patch. Sending patches isn't quite as simple as sending a pull request, but fortunately it is a well documented process. Here's what to do:
How do I format my contribution?The Linux kernel community is notoriously picky about how contributions are formatted and sent. Fortunately, they have documented their expectations. Firstly, all contributions need to be formatted as patches. A patch is a plain text document showing the change you want to make to the code, and documenting why it is a good idea. You can create patches with Secondly, patches need 'commit messages', which is the human-friendly documentation explaining what the change is and why it's necessary. Thirdly, changes have some technical requirements. There is a Linux kernel coding style, and there are licensing requirements you need to comply with. Both of these are documented in the Submitting Patches documentation that is part of the kernel. Note that you will almost certainly have to modify your existing git commits to satisfy these requirements. Don't worry: there are many guides on the internet for doing this. Who do I send my contribution to?The Linux kernel is composed of a number of subsystems. These subsystems are maintained by different people, and have different mailing lists where they discuss proposed changes. If you don't already know what subsystem your change belongs to, the
Make sure that your list of recipients includes a mailing list. If you can't find a more specific mailing list, then LKML - the Linux Kernel Mailing List - is the place to send your patches. It's not usually necessary to subscribe to the mailing list before you send the patches, but if you're interested in kernel development, subscribing to a subsystem mailing list is a good idea. (At this point, you probably don't need to subscribe to LKML - it is a very high traffic list with about a thousand messages per day, which is often not useful for beginners.) How do I send my contribution?Use For more information about using How do I get help if I'm stuck?Firstly, don't get discouraged! There are an enormous number of resources on the internet, and many kernel developers who would like to see you succeed. Many issues - especially about how to use certain tools - can be resolved by using your favourite internet search engine. If you can't find an answer, there are a few places you can turn:
If you get really, really stuck, you could try the owners of this bot, @daxtens and @ajdlinux. Please be aware that we do have full-time jobs, so we are almost certainly the slowest way to get answers! I sent my patch - now what?You wait. You can check that your email has been received by checking the mailing list archives for the mailing list you sent your patch to. Messages may not be received instantly, so be patient. Kernel developers are generally very busy people, so it may take a few weeks before your patch is looked at. Then, you keep waiting. Three things may happen:
Further information
Happy hacking! This message was posted by a bot - if you have any questions or suggestions, please talk to my owners, @ajdlinux and @daxtens, or raise an issue at https://github.com/ajdlinux/KernelPRBot. |
3e02110
to
eb99417
Compare
Hi My apologies if commenting here is incorrect and if so please direct me to the correct place to ask about this problem. My Raspberry Pi 3 wireless is not working properly after upgrade to Buster and rpi-update to latest firmware. Is it a kernel modules issue? Where does the rpi-update command download from? |
95d15fd
to
bd336b3
Compare
This is just a workaround, see the thread [1] on the netdev mailing list for the discussion around this issue. But it allows us to avoid the initial lockdep warning on boot that disables futher lockdep checks. [1] https://www.spinics.net/lists/netdev/msg529595.html Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
Update the SLUB debugging, kmemleak and lockdep checker sections with more information a few examples. Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
As soon as the lock is unlocked in task_info_find_pid, the caller cannot be sure if the pointer that is returned is valid. As long as the returned pointer is used, the lock must be held. In the case of task_info_add_to_list, the lock that must be held is a writer lock, in case of a reader lock other readers could read an inconsistent state of the struct task_info.
Starting from kernel version 4.10, `bio_set_op_attrs` is marked as obsolete. The recommended action is to directly assign the `bio_opf` field of the `struct bio`. Code extract from `/include/linux/blk_types.h` (v4.19): ```c /* obsolete, don't use in new code */ static inline void bio_set_op_attrs(struct bio *bio, unsigned op, unsigned op_flags) { bio->bi_opf = op | op_flags; } ``` Signed-off-by: Horia Ion <horiapaulion@gmail.com>
`minfs_write_inode` should fill the disk inode with the aquired `uid` and `gid` from the inode, not the other way round. Please check the `minix` solution below: https://elixir.bootlin.com/linux/latest/source/fs/minix/inode.c#L557
This fixes errors during the "Install native dependencies" step for building documentation. Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
For the `makedev` macro in newer versions of Glibc (since v2.28) we need to directly include <sys/sysmacros.h>, because that is no longer included by <sys/types.h>. Fix by including the correct header. Signed-off-by: Paul-Stelian Olaru <paul_stelian.olaru@stud.acs.upb.ro>
Up until this commit only core-image-miminal-* Yocto image files were ignored. Others, such as core-image-sato-* Yocto image files were not. This commit fixes that, will al Yocto image files being ignored. Signed-off-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Signed-off-by: Sergiu Weisz <sergiu121@gmail.com>
Signed-off-by: Sergiu Weisz <sergiu121@gmail.com>
For 5-pitix assignment there is no info about score or the number of test passed (at least a counter). Simple searching for "failed" in output is error prone (and painfully hard for the average Joe). A simple solution is to add a test_ok var to count the number of passed test. Better solutions exist, but keep it simple stupid as fellow student only care about the number of tests passed to know the homework is okay.
- Change TODO numbering to match code template - Fix and improve testing instructions
… ditaa diagrams Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
`$` should be used with normal shell commands, while `#` should be used for root commands. `ls` commands on /dev/* doesn't usually require root access.
The CONFIG_SERIAL_8250 field inside the kernel config file will add the driver for the serial ports. Since we have an assignment (2-uart) that requires these ports, we cannot activate it. Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
Add the `lkt-tap-smbd` tap interface to the `qemu/cleanup-net.sh` and `qemu/create_net.sh` scirpts. This interface is going to be used by qemu as a backed to connect to the samba server which exposes the rootfs. Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
Updates: * Remove serial driver dependecies. * Use an unix socket for connecting to the serial console. * Add backend pipes for the two serial ports. * Add backend disks * Add backend taps * Use minicom directly in the script to connect to the console Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
The checker for the uart assignment failed because this module was compiled for a kernel with a different config. This is a recompiled version with the current kernel config. Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
* Previously, if a test failed, all the tests in the batch were considered failed. Now we increased the granularity of the checker and each test has its own score. * If a solution doesn't implement read/write, the checker might block. We added a new process to the checker that kills such blocked processes. * Make the checker output partial results in the form [points_per_test/total_points] Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
* Change the checker output for a single test: [points_per_test/points_per_test] => [points_per_test/total_points] Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
Signed-off-by: Costin Sin <sin.costinrobert@gmail.com>
Use dates for feedback form for the 2022-2023 semester. Signed-off-by: Razvan Deaconescu <razvan.deaconescu@upb.ro>
- Correct base address of module in kernel oops debugging example - Reference current file containing description of page fault error code bits Signed-off-by: Macdonald Umoren <macdonald.umoren@proton.me>
errno-base.h and errno.h are now located at include/uapi/asm-generic/ Signed-off-by: Macdonald Umoren <macdonald.umoren@proton.me>
Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
* Add reference to so2-labs gitlab repo * Change `make boot` to `make console` Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
* Update Assignment 0 deadline for 2024 Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
* Add page about the General Rules of the discipline and Grading Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
* Update Assignment 1 deadline for 2024 Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
The default action on Fedora and RHEL-based distributions that use FirewallD is to ban DHCP requests. Instead of telling people to turn off their firewall, I recommend adding the tap interfaces to the FirewallD trusted zone. This commit adds automatic support to the create_net.sh and cleanup-net.sh scripts that set up the tap interfaces. Due to many distributions using FirewallD these days, I opted for using the following command to check if FirewallD is available: if [ -e $(which --skip-alias firewall-cmd) ]; then sudo firewall-cmd --zone=trusted --change-interface=$device fi However, we will have to create a better solution for this in the future. Signed-off-by: Frey Alfredsson <freysteinn@freysteinn.com>
Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
Signed-off-by: Dragoș-Iulian ARGINT <dragosargint21@gmail.com>
Course presents F5/F6 keys as shortcuts to move between multiple
results but they are not implemented (not working).
"If there are more than one results (usually there are) you can
move between them using F6 and F5"
cscope_shortcuts.zip