clean up. signed => unsigned
PATCH 1/1 clean up. signed => unsigned
This is just a clean up to please static checkers. It does not change how the kernel runs.
0xc0 is 192 and pkt_delim is a signed char so the max it can be is
127. I have made it unsigned.
Signed-off-by Dan Carpenter <[email protected]>
drivers/bluetooth/hci_bcsp.c +1 -1
@@ -125,7 +125,7 @@ static void bcsp_crc_update(u16 *crc, u8static void bcsp_slip_msgdelim (struct sk_buff *skb) { -const char pkt_delim =0xc0 ; +const unsigned char pkt_delim =0xc0 ;memcpy (skb_put (skb,1 ), &pkt_delim,1 ); }