diff options
| author | Tim Sell <[email protected]> | 2016-04-13 11:56:36 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:09:37 -0700 |
| commit | 6a957193ba83e5487705f63011307d202fff69f8 (patch) | |
| tree | 8cc3eeb865673b9379d47cd24116b892e0c70bb6 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 853adce6fd9a3caec583e115cd9f5def6f67daf7 (diff) | |
staging: unisys: visornic: convert BUG_ON to dev_err() message
The caller of visor_copy_fragsinfo_from_skb() is prepared to log a
dev_err() message if it fails (by returning a negative value), so we now
just fail in the one occasion where visor_copy_fragsinfo_from_skb() was
doing a BUG_ON.
There was also a problem before where visor_copy_fragsinfo_from_skb() was
returning a negative to indicate error, yet it was declared to return an
unsigned value! So obviously that needed correcting too.
Signed-off-by: Tim Sell <[email protected]>
Signed-off-by: David Kershner <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions