summaryrefslogtreecommitdiff
path: root/samples/bpf/tracex1_user.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-07-19 00:09:12 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-31 09:45:51 +0200
commit760c435e0f85ed19e48a90d746ce1de2cd02def7 (patch)
treedb479cbf16f6e056c1427b6cbfa54f50c5c8d06b /samples/bpf/tracex1_user.c
parentd166541e9031daff120cac212f1917eff93c07d3 (diff)
mtd: rawnand: make subop helpers return unsigned values
A report from Colin Ian King pointed a CoverityScan issue where error values on these helpers where not checked in the drivers. These helpers can error out only in case of a software bug in driver code, not because of a runtime/hardware error. Hence, let's WARN_ON() in this case and return 0 which is harmless anyway. Fixes: 8878b126df76 ("mtd: nand: add ->exec_op() implementation") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'samples/bpf/tracex1_user.c')
0 files changed, 0 insertions, 0 deletions