]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix abuse of the preincrement operator
authorDavid Howells <dhowells@redhat.com>
Wed, 30 Jun 2010 20:10:09 +0000 (13:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 20:10:09 +0000 (13:10 -0700)
commitd119dec9099189633e8b304c170dc68adcbbc255
tree655bcf546825fba9437da3c7117b355f6284e389
parent6fde3c3026e890626b1716fc2020392151a8b516
Bluetooth: Fix abuse of the preincrement operator

Fix abuse of the preincrement operator as detected when building with gcc
4.6.0:

 CC [M]  drivers/bluetooth/hci_bcsp.o
drivers/bluetooth/hci_bcsp.c: In function 'bcsp_prepare_pkt':
drivers/bluetooth/hci_bcsp.c:247:20: warning: operation on 'bcsp->msgq_txseq' may be undefined

Reported-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/bluetooth/hci_bcsp.c