Re: [PATCH] HDP: Set error message on error condition

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

 



Hi Andrei,

On Tue, Jun 10, 2014, Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> 
> Fixes clang warning:
> ...
>   CC       profiles/health/bluetoothd-hdp.o
> profiles/health/hdp.c:1778:13: warning: Access to field 'message'
> results in a dereference of a null pointer (loaded from variable 'gerr')
>                                                 "%s", gerr->message);
>                                                       ^~~~~~~~~~~~~
> ...
> ---
>  profiles/health/hdp.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Applied. Thanks.

Johan
--
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