Re: [PATCH v3 1/1] coding-style: recommend split headers instead of kernel.h

2024-05-06 Thread Yueh-Shun Li
On 2024-01-28 14:26, Randy Dunlap wrote: On 1/8/24 12:22, Yueh-Shun Li wrote: > In section "18) Don't re-invent the kernel macros" in "Linux kernel > coding style": > > Recommend reusing macros from headers inside include/linux, instead of > the obsolete include/linux/kernel.h > > Change wording

Re: [PATCH v3 1/1] coding-style: recommend split headers instead of kernel.h

2024-01-27 Thread Randy Dunlap
On 1/8/24 12:22, Yueh-Shun Li wrote: > In section "18) Don't re-invent the kernel macros" in "Linux kernel > coding style": > > Recommend reusing macros from headers inside include/linux, instead of > the obsolete include/linux/kernel.h > > Change wording > > - "The header file contains macro

[PATCH v3 1/1] coding-style: recommend split headers instead of kernel.h

2024-01-08 Thread Yueh-Shun Li
In section "18) Don't re-invent the kernel macros" in "Linux kernel coding style": Recommend reusing macros from headers inside include/linux, instead of the obsolete include/linux/kernel.h Change wording - "The header file contains macros" -> "the header files provide macros" Some macros are