[PATCH v4 4/5] mikrobus: Add mikroBUS driver
Markus Elfring
Markus.Elfring at web.de
Mon Mar 18 11:12:21 PDT 2024
…
> +++ b/drivers/misc/mikrobus/mikrobus_core.h
…
> +#ifndef __MIKROBUS_H
> +#define __MIKROBUS_H
…
I suggest to avoid the specification of leading underscores for include guards.
See also:
https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier#DCL37C.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28IncludeGuard%29
Regards,
Markus
More information about the linux-arm-kernel
mailing list