staging: unisys: BUG halt on error in I/O channel
authorNeil Horman <nhorman@redhat.com>
Tue, 21 Jul 2015 13:55:37 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:19:17 +0000 (21:19 -0700)
commit998ff7f85d2a4923cf8e49319957bb2a70f8b881
treea24626722449bb0d0ac07170d9fd77a9661ee4bc
parentce657aa81005ddfbdd9c89ec9de31ff713c05ea6
staging: unisys: BUG halt on error in I/O channel

We precheck that we have enough space in an iochannel prior to writing to
it when we send in a fragmented skb.  Given that there is no recovery from
this condition that I can see, turn it into a BUG halt

Signed-off-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c