Re: [PATCH] staging: fbtft: replace decimal with 4-digit octal permissions

From: Andy Shevchenko
Date: Tue Jan 17 2017 - 20:25:22 EST


On Wed, Jan 18, 2017 at 1:38 AM, Stefano Manni <stefano.manni@xxxxxxxxx> wrote:
> Following error detected by checkpatch.pl:
>
> ERROR: Use 4 digit octal (0777) not decimal permissions
>
> Signed-off-by: Stefano Manni <stefano.manni@xxxxxxxxx>
> ---
> drivers/staging/fbtft/flexfb.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c
> index ded1071..7d2ffbb 100644
> --- a/drivers/staging/fbtft/flexfb.c
> +++ b/drivers/staging/fbtft/flexfb.c
> @@ -27,40 +27,40 @@
> #define DRVNAME "flexfb"
>
> static char *chip;
> -module_param(chip, charp, 0);
> +module_param(chip, charp, 0000);
> MODULE_PARM_DESC(chip, "LCD controller");

Perhaps make them readable back?
0400

--
With Best Regards,
Andy Shevchenko