From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Sat, 18 Nov 2017 13:19:33 +0100 Subject: My first patch - patch for adl_pci9118.c In-Reply-To: References: Message-ID: <20171118121933.GA25331@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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