Re: [PATCH] usb: cdc-acm: flags passed to spin_lock_irqsave mustbe unsigned

From: Greg KH
Date: Wed Aug 06 2008 - 22:12:31 EST


On Sun, Aug 03, 2008 at 06:50:14PM +0200, Marcin Slusarz wrote:
> gcc warned about it:
> drivers/usb/class/cdc-acm.c: In function 'acm_waker':
> drivers/usb/class/cdc-acm.c:527: warning: comparison of distinct pointer types lacks a cast
> drivers/usb/class/cdc-acm.c:529: warning: comparison of distinct pointer types lacks a cast
>
> Signed-off-by: Marcin Slusarz <marcin.slusarz@xxxxxxxxx>
> Cc: Oliver Neukum <oliver@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>

Just got this fix from someone else first, sorry, but thanks for the
patch.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/