Re: linux kernel coding style and checkpatch.pl script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Valdis Klētnieks, 26 Mar 2020 07:13 MSK:

To borrow from Pirates of the Carribean, "They're not exactly rules, they're more like... suggestions..."

Don't split literal strings, it means that grepping the source tree for "already registered" fails. Making grep for a string work is more important than shutting up checkpatch.

Sic! Grepping is important. Given that, why are kernel functions coded in a

| static int __init loglevel(char *str)
| {

way, but not old decent

| static int __init
| loglevel(char *str)
| {

unix way?

--
Regards, Konstantin

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux