intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
72 stars 44 forks source link

Ignore meaningless checkpatch errors #138

Closed mgrzonka closed 1 year ago

mgrzonka commented 1 year ago

Checkpatch has some checks specific for kernel code submission, that are meaningless for ledmon, such as:

ERROR: Do not include the paragraph about writing to the Free Software Foundation's mailing address from the sample GPL notice. The FSF has changed addresses in the past, and may do so again. Linux already includes a copy of the GPL.

WARNING: Prefer __printf(3, 4) over __attribute__((format(printf, 3, 4)))

WARNING: Prefer __packed over __attribute__((__packed__))

We need to ignore them.

False-positives found in: https://github.com/intel/ledmon/pull/115