Hi Simon, ср, 28 июл. 2021 г. в 13:19, THOBY Simon <Simon.THOBY@xxxxxxxxxx>: > 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.