[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17845408-4a9c-470d-8949-f4cd0a847615@rowland.harvard.edu>
Date: Tue, 2 Dec 2025 10:53:11 -0500
From: Alan Stern <stern@...land.harvard.edu>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Clint George <clintbgeorge@...il.com>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, david.hunter.linux@...il.com,
linux-kernel-mentees@...ts.linux.dev, skhan@...uxfoundation.org,
khalid@...nel.org
Subject: Re: [PATCH v2 0/6] usb: gadget: dummy_hcd: coding style improvements
On Tue, Dec 02, 2025 at 06:27:46AM +0100, Greg KH wrote:
> On Tue, Dec 02, 2025 at 02:07:09AM +0530, Clint George wrote:
> > As part of my LKMP mentorship i have to complete 5 patches as a criteria
> > for graduation and thus have focused on working on such
> > beginner-friendly patches so that not only do i get the required number
> > of patches but also get familiar with the process of kernel
> > developement.
>
> The LKMP internship should be done in drivers/staging/ as generally
> coding style cleanups are NOT accepted in other parts of the kernel,
> unless you get approval from the maintainer ahead of time.
>
> Does the maintainer of this driver want this to be used for the intern
> project?
In fact, Clint's changes are small and inoffensive enough, I wouldn't
mind having them applied to dummy-hcd.
However, Greg is perfectly right that this kind of stylistic update is
not something that should be submitted for most parts of the kernel. It
just bulks up the Git history with essentially meaningless cruft, making
it all that much harder to see the changes that really matter. That's
part of the reason for the suggestion that interns and beginners should
confine their efforts to drivers/staging.
Also, remember that trivial changes like this are fine for learning the
procedure of submitting kernel patches, but the effects they have on the
kernel itself are minimal. A patch that actually fixes a bug or adds a
functional enhancement would be a different story.
Alan Stern
Powered by blists - more mailing lists