Finding cleanups in staging
Finding drivers/staging clean-ups:::
In Linux Kernel Community we know that it takes a bit of time and effort to get traction on the cleanup patches.
Please ask for support on this list or irc.
Here are some notes thoughts to get you started. Please chime in with your current experiences. It helps other applicants and helps us improve the program.
Finding the first patch:
------------------------
It's fine to submit patches for checkpatch "CHECK" reports. Get these by using the --strict option to checkpatch.
Here's what works for me:
$ rm -r drivers/staging/media # do not work in staging/media
$ git ls-files drivers/staging/*.[ch] | xargs ./scripts/checkpatch.pl --strict --codespellfile=/usr/bin/codespell -f
There seem to be plenty of checkpatch cleanups in staging/drivers, and TODO files w beginner level suggestions.
Another method for finding cleanups is *this* list. Scroll the list of PATCH Subject lines, some will catch your eye as not looking like a checkpatch patch. Look at it. See what they did, how they found it.
Confidence to send the patch:
-----------------------------
Go ahead and search on this mailing list for the checkpatch string. You should find many examples of patches that went well, and patches that needed rework, that match what you are about to do.
If you have a patch AND a question, you can send the patch and put your question below the scissors line. For example, you might see multiple instance of something but are not sure the patch will be well-received. Fix one instance - and below the scissor line ask you question: "There are 10 more of these in this file, just want to sanity check that my approach here is wanted."
Snowballing:
------------
I can see on this list that a few folks already have patches accepted that are 'snowballing'. This is when a reviewer says 'Thanks - and how about fixing this [other thing] too?!' This is great. One patch, spawns more improvements.
For perspective, try this on this list:
------------------------------------
Search for v2, then search for v14. (You can search all the way in-between also). Point is, we revision patches a lot! And, it's not unique to the Outreachy list. Go to any kernel.org list if you are feeling glum about getting to v5, 6, or 7.
Reach out if you get stuck or need some camaraderie, Alison