Re: [PATCH BlueZ v0 1/2] btio: Replace g_set_error by ERROR_FAILED macro

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

 



Hi Claudio,

On Thu, Jul 26, 2012 at 10:11 AM, Claudio Takahasi
<claudio.takahasi@xxxxxxxxxxxxx> wrote:
> This patch replaces the calls of g_set_error function by the local
> defined macro "ERROR_FAILED".
> ---
>  btio/btio.c |   19 +++++++------------
>  1 files changed, 7 insertions(+), 12 deletions(-)

I'm not sure replacing every g_set_error() occurrence by
ERROR_FAILED() is a good idea (some will show errors like "Server
L2CAP RAW sockets not supported: Invalid argument (22)"), but it is a
minor problem so the patch is fine for me.

Best Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
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