Re: [PATCH] Staging: comedi: Removed unnecessary "extern" fromdo_become_nonbusy()

From: Greg KH
Date: Tue Sep 06 2011 - 20:01:12 EST


On Sun, Sep 04, 2011 at 05:36:29PM +0200, Johannes Thumshirn wrote:
> Removed unnecessary "extern" label from do_become_nonbusy() function to make
> checkpatch.pl happy
>
> Signed-off-by: Johannes Thumshirn <morbidrsa@xxxxxxxxxxxxxx>
> ---
> drivers/staging/comedi/comedi_fops.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
> index e90e3cc..c46db8f 100644
> --- a/drivers/staging/comedi/comedi_fops.c
> +++ b/drivers/staging/comedi/comedi_fops.c
> @@ -101,8 +101,7 @@ static int do_insn_ioctl(struct comedi_device *dev,
> static int do_poll_ioctl(struct comedi_device *dev, unsigned int subd,
> void *file);
>
> -extern void do_become_nonbusy(struct comedi_device *dev,
> - struct comedi_subdevice *s);
> +void do_become_nonbusy(struct comedi_device *dev, struct comedi_subdevice *s);

This patch does not apply, what tree did you make it against?

Please try it against the latest linux-next tree and resend it.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/