Commit 81eb8adf authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman

USB: cdc-acm.c: Fix compile warnings

The irq flags should be unsigned long.

  CC [M]  drivers/usb/class/cdc-acm.o
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: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bf3fc828
...@@ -512,7 +512,7 @@ static void acm_softint(struct work_struct *work) ...@@ -512,7 +512,7 @@ static void acm_softint(struct work_struct *work)
static void acm_waker(struct work_struct *waker) static void acm_waker(struct work_struct *waker)
{ {
struct acm *acm = container_of(waker, struct acm, waker); struct acm *acm = container_of(waker, struct acm, waker);
long flags; unsigned long flags;
int rv; int rv;
rv = usb_autopm_get_interface(acm->control); rv = usb_autopm_get_interface(acm->control);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment