]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: include scatterlist.h where needed
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 23 Jun 2011 02:58:55 +0000 (12:58 +1000)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jun 2011 19:08:48 +0000 (15:08 -0400)
commitd1c2491758ebf90c20d18e87d2a5f33e1c925c6e
tree339b8f247ed5a0e0cd2f63d1843507be5809e9fc
parent6cd05114173b0ca47c40121bdb03699672feb88d
Bluetooth: include scatterlist.h where needed

net/bluetooth/smp.c: In function 'smp_e':
net/bluetooth/smp.c:49:21: error: storage size of 'sg' isn't known
net/bluetooth/smp.c:67:2: error: implicit declaration of function 'sg_init_one'
net/bluetooth/smp.c:49:21: warning: unused variable 'sg'

Caused by commit ec63ae565c41 ("Bluetooth: Add LE SMP Cryptoolbox
functions").  Missing include file, presumably.  This batch has been in
the bluetooth tree since June 14, so it may have been exposed by the
removal of linux/mm.h from netdevice.h ...

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/bluetooth/smp.c