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)
commitdd1589a431e90f9ff587e640c67101a565e52bba
tree655bcf546825fba9437da3c7117b355f6284e389
parent9b2c2ff7a1c04e69842254dd4afe0f8ad4efa439
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