diff options
| author | Arnd Bergmann <[email protected]> | 2014-05-08 15:52:14 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2014-05-14 09:23:31 -0500 |
| commit | 64890edb8536618ee856fbca699fe930fcef1573 (patch) | |
| tree | e052931cdd5d5b8f7c33998735a8e71112627a70 /tools/perf/scripts | |
| parent | 966036fde60e6d96708815e0d495692ac352acf9 (diff) | |
usb: gadget: s3c2410_udc: don't use pr_debug return value
pr_debug() may be defined as "do { } while (0)" in some configurations,
which means one cannot rely on the return value to be available.
In the dprintk function in this driver, we can work around the
resulting build error trivially by returning the length that
this function already knows and ignoring the return value of
pr_debug.
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Kukjin Kim <[email protected]>
Cc: [email protected]
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions