Re: [PATCHv1 4/4] Bluetooth: trivial: Use preferred method for NULL check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gustavo,

On Wed, Aug 15, 2012 at 01:16:55AM -0300, Gustavo Padovan wrote:
> > From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> > 
> > Use standard bluetooth way to check NULL pointer !var instead of
> > var == NULL.
> > 
> > Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> > ---
> >  net/bluetooth/af_bluetooth.c |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> I applied patches 2, 3 and 4 to bluetooth-next. Patch 1 needs rebase. Thanks.

Patches 1 and 3 needs patch from linux-next and wireless-testing

<------8<------------------------------------------------------------------
|  vsprintf: add %pMR for Bluetooth MAC address
|
|  author  Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
|          Mon, 30 Jul 2012 21:40:23 +0000 (14:40 -0700)
|  committer       Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
|          Tue, 31 Jul 2012 00:25:14 +0000 (17:25 -0700)
|  Bluetooth uses mostly LE byte order which is reversed for visual
|  interpretation.  Currently in Bluetooth in use unsafe batostr function.
|
|  This is a slightly modified version of Joe's patch (sent Sat, Dec 4,
|  2010).
|
|  Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
|  Cc: Joe Perches <joe@xxxxxxxxxxx>
|  Cc: Marcel Holtmann <marcel@xxxxxxxxxxxx>
|  Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
|  Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
|
<------8<------------------------------------------------------------------

which adds actual specifier.

Best regards 
Andrei Emeltchenko 
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux