Messages in this thread | | | Subject | Re: [PATCH] kernel:module Fix coding style errors and warnings. | From | Joe Perches <> | Date | Thu, 16 Oct 2014 02:38:53 -0700 |
| |
On Thu, 2014-10-16 at 12:36 +0300, Ionut Alexa wrote: > Fixed codin style errors and warnings. Changes printk with > print_debug/warn. Changed seq_printf to seq_puts.
If you are going to do style cleanups, please make sure you check your patches with scripts/checkpatch.pl before sending them.
WARNING: missing space after struct definition #104: FILE: kernel/module.c:743: +struct stopref{
WARNING: line over 80 characters #190: FILE: kernel/module.c:1550: + error = sysfs_create_file(&mod->mkobj.kobj, &temp_attr->attr);
total: 0 errors, 2 warnings, 187 lines checked
| |