Re: [PATCH v2 3/7] staging: comedi: jr3_pci.h: Fix checkpatch warning
From: Andrey Utkin
Date: Fri Aug 26 2016 - 17:25:37 EST
On Fri, Aug 26, 2016 at 02:33:08PM -0400, Anson Jacob wrote:
> - /* Default_FS contains the full scale that is used if the user does */
> - /* not set a full scale. */
> + /*
Applying: staging: comedi: jr3_pci.h: Fix checkpatch warning
.git/rebase-apply/patch:226: trailing whitespace.
warning: 1 line adds whitespace errors.
This means you have a space after asterisk. You would catch this if you run
checkpatch.pl after making your commits.
Actually, some files you have amended, still have issues of same difficulty.
You are encouraged to sort that out, too. See
for x in drivers/staging/comedi/drivers/cb_pcidas64.c drivers/staging/comedi/drivers/jr3_pci.c drivers/staging/comedi/drivers/jr3_pci.h drivers/staging/comedi/drivers/ni_at_a2150.c drivers/staging/comedi/drivers/ni_atmio.c drivers/staging/comedi/drivers/s626.h; do ./scripts/checkpatch.pl --strict -f $x; done