[U-Boot] Are typedefs discouraged?

Reinhard Meyer u-boot at emk-elektronik.de
Sun Oct 31 10:01:17 CET 2010


Hi All,

WARNING: do not add new typedefs
#64: FILE: arch/arm/include/asm/arch-at91/at91_shdwn.h:19:
+typedef struct at91_shdwn {

total: 0 errors, 1 warnings, 45 lines checked

xx has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

I assume that "rule" does not apply to u-boot, and such warnings
can be ignored?

However why would typedefs be discouraged in kernel?

Reinhard



More information about the U-Boot mailing list