Re: [PATCH 1/2] Staging: comedi: adl_pci9118: commenting style issue fixed
On Fri, Jul 18, 2014 at 11:13:07PM +0300, Sam Asadi wrote: > A 'quoted string split across lines' issue fixed, while a better use of > language applied to the comment. > > Signed-off-by: Sam Asadi > --- > drivers/staging/comedi/drivers/adl_pci9118.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c > b/drivers/staging/comedi/drivers/adl_pci9118.c > index 93bd9ee..7365f31 100644 > --- a/drivers/staging/comedi/drivers/adl_pci9118.c > +++ b/drivers/staging/comedi/drivers/adl_pci9118.c > @@ -418,8 +418,7 @@ static int check_channel_list(struct comedi_device *dev, > if ((CR_RANGE(chanlist[i]) < PCI9118_BIPOLAR_RANGES) != > (bipolar)) { > comedi_error(dev, > - "Bipolar and unipolar ranges " > - "can't be mixtured!"); > + "Bipolar and unipolar ranges can't > be mixed!"); What tree did you refresh this against? My staging-next branch of staging.git on git.kernel.org does not have comedi_error() anymore in it :( thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/2] Staging: comedi: adl_pci9118: commenting style issue fixed
A 'quoted string split across lines' issue fixed, while a better use of language applied to the comment. Signed-off-by: Sam Asadi --- drivers/staging/comedi/drivers/adl_pci9118.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index 93bd9ee..7365f31 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c @@ -418,8 +418,7 @@ static int check_channel_list(struct comedi_device *dev, if ((CR_RANGE(chanlist[i]) < PCI9118_BIPOLAR_RANGES) != (bipolar)) { comedi_error(dev, -"Bipolar and unipolar ranges " - "can't be mixtured!"); +"Bipolar and unipolar ranges can't be mixed!"); return 0; } if (!devpriv->usemux && differencial && -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 1/2] Staging: comedi: adl_pci9118: commenting style issue fixed
A 'quoted string split across lines' issue fixed, while a better use of language applied to the comment. Signed-off-by: Sam Asadi asadi.sam...@gmail.com --- drivers/staging/comedi/drivers/adl_pci9118.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index 93bd9ee..7365f31 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c @@ -418,8 +418,7 @@ static int check_channel_list(struct comedi_device *dev, if ((CR_RANGE(chanlist[i]) PCI9118_BIPOLAR_RANGES) != (bipolar)) { comedi_error(dev, -Bipolar and unipolar ranges - can't be mixtured!); +Bipolar and unipolar ranges can't be mixed!); return 0; } if (!devpriv-usemux differencial -- 1.7.10.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 1/2] Staging: comedi: adl_pci9118: commenting style issue fixed
On Fri, Jul 18, 2014 at 11:13:07PM +0300, Sam Asadi wrote: A 'quoted string split across lines' issue fixed, while a better use of language applied to the comment. Signed-off-by: Sam Asadi asadi.sam...@gmail.com --- drivers/staging/comedi/drivers/adl_pci9118.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index 93bd9ee..7365f31 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c @@ -418,8 +418,7 @@ static int check_channel_list(struct comedi_device *dev, if ((CR_RANGE(chanlist[i]) PCI9118_BIPOLAR_RANGES) != (bipolar)) { comedi_error(dev, - Bipolar and unipolar ranges - can't be mixtured!); + Bipolar and unipolar ranges can't be mixed!); What tree did you refresh this against? My staging-next branch of staging.git on git.kernel.org does not have comedi_error() anymore in it :( thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/