summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Herdler <herdler@nurfuerspam.de>2024-05-07 03:24:44 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-04 17:19:55 +0300
commit72707bdc22e2586232585935fa088bedb9a8940d (patch)
tree73a8e52600897ea5dddbf267e539e9062e962686 /include
parent5f0edb7a8ba01f9328b6899282ac577c15d2a6af (diff)
downloadlinux-72707bdc22e2586232585935fa088bedb9a8940d.tar.xz
media: sp8870: coding style fixes: miscellaneous
This patch fixes the following checkpatch: ERROR:ASSIGN_IN_IF: do not use assignment in if condition WARNING:BRACES: braces {} are not necessary for any arm of this statement WARNING:CONST_STRUCT: struct dvb_frontend_ops should normally be const WARNING:EXPORT_SYMBOL: EXPORT_SYMBOL(foo); should immediately follow its function/variable CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*state)...) over kzalloc(sizeof(struct sp8870_state)...) CHECK:AVOID_EXTERNS: extern prototypes should be avoided in .h files CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written ... CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided Signed-off-by: Stefan Herdler <herdler@nurfuerspam.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions