Re: [PATCH 5/5] compat: fix warning in usb_autopm_get_interface_no_{resume,suspend}

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

 



On Wed, Jan 9, 2013 at 8:34 AM, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> This fixes the following warning on kernel version <= 2.6.31.
>
> /compat/compat-2.6.33.c: In function ‘usb_autopm_get_interface_no_resume’:
> /compat/compat-2.6.33.c:32:2: warning: passing argument 1 of ‘atomic_inc’ from incompatible pointer type [enabled by default]
> /arch/x86/include/asm/atomic_64.h:85:20: note: expected ‘struct atomic_t *’ but argument is of type ‘int *’
> /compat/compat-2.6.33.c: In function ‘usb_autopm_put_interface_no_suspend’:
> /compat/compat-2.6.33.c:51:2: warning: passing argument 1 of ‘atomic_dec’ from incompatible pointer type [enabled by default]
> /arch/x86/include/asm/atomic_64.h:98:20: note: expected ‘struct atomic_t *’ but argument is of type ‘int *’
>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>

Thanks applied all compat and compat-drivers patches and pushed!

  Luis
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux