diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-12-04 16:19:49 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-12-11 13:22:57 +0200 |
commit | bd9a212bab3db65baff094fe811ef1b593faca2a (patch) | |
tree | e0da0eecaec12d056fc204bd7b34b26f62138230 /firmware/tigon/tg3_tso.bin.ihex | |
parent | 9e4aee43dc2211a976f8aa7df5cf823d7a4ae640 (diff) | |
download | blackbird-obmc-linux-bd9a212bab3db65baff094fe811ef1b593faca2a.tar.gz blackbird-obmc-linux-bd9a212bab3db65baff094fe811ef1b593faca2a.zip |
prism54: off by one BUG_ON() test
This code was supposed to trigger a BUG() if we truncate the output but
it's off by one so it allows one character to be truncated. Really
drivers shouldn't call BUG_ON() and especially for something minor like
this so I've changed it to a WARN_ON().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'firmware/tigon/tg3_tso.bin.ihex')
0 files changed, 0 insertions, 0 deletions