[PATCH 4/8] headers_check: check kernel types inside #define

2013-04-01 Thread Paul Bolle
Kernel integer types are sometimes used inside defines too. Expand check_kerneltypes() to notice these too. Annoyingly, lines like #define VFIO_IRQ_SET_DATA_BOOL (1 << 1) /* Data is bool (u8) */ force me to first strip oneline comments from the processed line. Both regexes added

[PATCH 4/8] headers_check: check kernel types inside #define

2013-04-01 Thread Paul Bolle
Kernel integer types are sometimes used inside defines too. Expand check_kerneltypes() to notice these too. Annoyingly, lines like #define VFIO_IRQ_SET_DATA_BOOL (1 1) /* Data is bool (u8) */ force me to first strip oneline comments from the processed line. Both regexes added