Thread (14 messages) 14 messages, 4 authors, 2021-08-16

Re: [PATCH 1/1] NAX LSM: Add initial support support

flat view

From: Igor Zhbanov <hidden>
Date: 2021-08-13 20:10:56
Also in: linux-integrity

Hi Simon,

ср, 28 июл. 2021 г. в 13:19, THOBY Simon [off-list ref]:
The kernel style guide mandates that all variables are only defined at the beggining of the
function, and not at the beggining of any block like C89.
I've checked the kernel coding style and couldn't find anything about
variables definition
place. Could you, please, point me to the requirement?

Scoping variables declaration makes the code better and more secure.
Besides, I've checked the kernel sources and see many examples of that.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help