diff options
| author | Fengguang Wu <[email protected]> | 2014-10-29 22:18:55 +0800 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2014-11-03 10:01:24 -0600 |
| commit | a2655e4a8edb66d21b0967940172e83a51d30ef3 (patch) | |
| tree | 329335675429de2e210be869ed882aac8e6679e7 /tools/perf/scripts/python | |
| parent | 8b920f16e69550d3f6c7c67dc3cef42aafca498d (diff) | |
usb: gadget: fix ptr_ret.cocci warnings
drivers/usb/gadget/udc/r8a66597-udc.c:1849:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions