All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jaehee Park <jhpark1013@gmail.com>
To: Alison Schofield <alison.schofield@intel.com>
Cc: Outreachy Linux Kernel <outreachy@lists.linux.dev>
Subject: Re: Finding Clean-up Tasks
Date: Fri, 1 Apr 2022 10:28:03 -0400	[thread overview]
Message-ID: <20220401142803.GA38814@jaehee-ThinkPad-X1-Extreme> (raw)
In-Reply-To: <20220331183805.GA1182645@alison-desk>

On Thu, Mar 31, 2022 at 11:38:05AM -0700, Alison Schofield wrote:
> 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 from me. Please chime in with your current
> experiences. It helps other applicants and helps us improve
> the program.
> 
> 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 <insert other thing> too?!'
> This is great. One patch, spawns more improvements.
> 
> Finding the first patch:
> ------------------------
> It's fine to submit patches for checkpatch "CHECK" reports.
> Get these by using the --strict option to checkpatch.
> 
> There seem to be plenty of checkpatch cleanups in staging/drivers,
> and TODO files w beginner level suggestions. I personaly haven't
> run sparse, smatch, or coccicheck. 
> 
> 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. Sometimes a cocci script is included
> in the patch body, so you can just grab that and run.
> 
> Confidence to send the patch:
> -----------------------------
> Go ahead and search on this mailing list for the checkpatch
> string. You should find many examples that match what you
> are about to do. See what worked well, what needed rework.
> 
> 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 instances 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."  (If I were doing cleanup today, I'd use this tactic
> for drivers/staging/iio checkpatch ERROR about octals.)
> 

Thank you for advice! I had a question about where to put the questions
in the patch. When you say scissor line, are we putting dashed lined
somewhere in the patch and writing our questions? Or did you mean we
should reply to our patch?   

> Just for fun, try this on this list:
> ------------------------------------
> - Search for v2, then search for v14. (You can search all the
> way in-between them 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.
> 
> Here's the first patch I ever posted to this list:
> --------------------------------------------------
> https://lore.kernel.org/outreachy/20151005183935.GA3350@Ubuntu-D830/#t 
> 
> Reach out if you get stuck or need some camaraderie,
> Alison
> 

  parent reply	other threads:[~2022-04-01 14:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-31 18:38 Finding Clean-up Tasks Alison Schofield
2022-03-31 18:50 ` Alison Schofield
2022-04-01 14:28 ` Jaehee Park [this message]
2022-04-01 15:08   ` Stefano Brivio
2022-04-01 15:18     ` Jaehee Park
2022-04-01 15:14   ` Fabio M. De Francesco
2022-04-01 15:17     ` Jaehee Park
2022-04-01 15:20   ` Alison Schofield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220401142803.GA38814@jaehee-ThinkPad-X1-Extreme \
    --to=jhpark1013@gmail.com \
    --cc=alison.schofield@intel.com \
    --cc=outreachy@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.