Re: [PATCH] samples/kobject: Use kstrtoint instead of sscanf
From: greg KH
Date: Thu Dec 18 2014 - 20:56:38 EST
On Fri, Dec 19, 2014 at 11:27:37AM +1030, Rusty Russell wrote:
> Rastislav Barlik <barlik@xxxxxxxx> writes:
> > Use kstrtoint function instead of sscanf and check for return values.
> >
> > Signed-off-by: Rastislav Barlik <barlik@xxxxxxxx>
>
> Hmm, this seems like Greg, not me.
>
> Greg, I noticed this in samples/kobject/kobject-example.c:
>
> * Released under the GPL version 2 only.
> ...
> MODULE_LICENSE("GPL");
>
> >From module.h:
>
> * The following license idents are currently accepted as indicating free
> * software modules
> *
> * "GPL" [GNU Public License v2 or later]
> * "GPL v2" [GNU Public License v2]
Thanks, I'll fix that up after 3.19-rc1 is out.
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/