checkpatch: disable PREFER_SECTION
Zephyr doesn't use the __section macro, so stop warnings like this from producing a compliance rejection. WARNING:PREFER_SECTION: __section(.device_) is preferred over __attribute__((section(".device_"))) #702: FILE: include/device.h:743: __attribute__((__section__(".device_" #level STRINGIFY(prio)))) Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
3908638bab
commit
529a2e144e
|
@ -11,6 +11,7 @@
|
||||||
--ignore VOLATILE
|
--ignore VOLATILE
|
||||||
--ignore CONFIG_EXPERIMENTAL
|
--ignore CONFIG_EXPERIMENTAL
|
||||||
--ignore PREFER_KERNEL_TYPES
|
--ignore PREFER_KERNEL_TYPES
|
||||||
|
--ignore PREFER_SECTION
|
||||||
--ignore AVOID_EXTERNS
|
--ignore AVOID_EXTERNS
|
||||||
--ignore NETWORKING_BLOCK_COMMENT_STYLE
|
--ignore NETWORKING_BLOCK_COMMENT_STYLE
|
||||||
--ignore DATE_TIME
|
--ignore DATE_TIME
|
||||||
|
|
Loading…
Reference in a new issue