[PATCH] Fix C++ kernel in include/linux/mtd/mtd.h
Marek Vasut
marek.vasut at gmail.com
Sat Sep 23 14:10:26 PDT 2017
On 09/23/2017 10:13 PM, Pavel Machek wrote:
> C++ comments look wrong in kernel tree. Fix one.
AFAIR they are now (sadly) accepted, but this patch works for me.
Would be nice if trivial could pick it.
> Signed-off-by: Pavel Machek <pavel at ucw.cz>
>
> diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
> index 6cd0f6b..849543f1 100644
> --- a/include/linux/mtd/mtd.h
> +++ b/include/linux/mtd/mtd.h
> @@ -267,7 +267,7 @@ struct mtd_info {
> */
> unsigned int bitflip_threshold;
>
> - // Kernel-only stuff starts here.
> + /* Kernel-only stuff starts here. */
> const char *name;
> int index;
>
>
--
Best regards,
Marek Vasut
More information about the linux-mtd
mailing list