Re: [PATCH v3 1/2] eeprom: at24: fix coding style issues

From: Bartosz Golaszewski
Date: Sun Dec 10 2017 - 13:43:24 EST


2017-12-10 13:57 GMT+01:00 Andy Shevchenko <andy.shevchenko@xxxxxxxxx>:
> On Thu, Dec 7, 2017 at 3:39 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
>> Fix issues reported by checkpatch for at24.c.
>
>> +module_param(io_limit, uint, 0000);
>
>> +module_param(write_timeout, uint, 0000);
>
>
> 0 is a pretty much octal number as 0000.
> So, I would prefer not to blindly follow the stupid advise from
> checkpatch, better to teach checkpatch about 0.
>
>

I submitted a patch for that - let's see what checkpatch maintainers say.

Thanks,
Bartosz