On 07/09/2024 16:33, Junhao Xie wrote:
On 2024/9/7 16:44, Markus Elfring wrote:
quoted
…
quoted
+++ b/include/linux/mfd/photonicat-pmu.h
…
quoted
+#ifndef _PHOTONICAT_PMU_H
+#define _PHOTONICAT_PMU_H
…
I suggest to omit leading underscores from such identifiers.
https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier
Regards,
Markus
Thanks for your suggestion, does this look better?
#ifndef MFD_PHOTONICAT_PMU_H
#define MFD_PHOTONICAT_PMU_H
<form letter>
Feel free to ignore all comments from Markus, regardless whether the
suggestion is reasonable or not. This person is banned from LKML and
several maintainers ignore Markus' feedback, because it is just a waste
of time.
</form letter>
Best regards,
Krzysztof