Thus wrote Greg Kroah-Hartman ([email protected]): > > - ret = proc_create("misc", 0, NULL, &misc_proc_fops); > > + ret = proc_create("misc", 0444, NULL, &misc_proc_fops);
> What checkpatch warning does this fix? 0 is a number :)
ERROR: Use 4 digit octal (0777) not decimal permissions
#285: FILE: drivers/char/misc.c:285:
+ ret = proc_create("misc", 0, NULL, &misc_proc_fops);
Best regards,
Martin

