My first patch - patch for adl_pci9118.c

Greg KH greg at kroah.com
Sat Nov 18 07:19:33 EST 2017


On Sat, Nov 18, 2017 at 01:07:30PM +0100, Fabian Baumanis wrote:
> Hi there,
> 
> this morning i created my first patch for the Linux kernel.
> It fixes a style issue which was reported by using checkpatch.pl on
> drivers/staging/comedi/drivers/adl_pci9118.c
> 
> Although it's a very small patch, i hope this is useful.
> My question now is: how can i submit the patch to the developers?

Please read Documentation/SubmittingPatches for the steps for how to
submit a patch.

> Best regards and have a nice weekend,
> Fabian
> 

> 949,950c949
> < 		if ((cmd->flags & CMDF_WAKE_EOS) &&
> < 		    (cmd->scan_end_arg == 1)) {
> ---
> > 		if cmd->flags & CMDF_WAKE_EOS && cmd->scan_end_arg == 1 {

Have you built the code with your change applied?  Always do that first
:)

thanks,

greg k-h



More information about the Kernelnewbies mailing list