Re: [PATCH net-next] net: cdc_ncm: big endian fix

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

 



From: Bjørn Mork <bjorn@xxxxxxx>
Date: Fri, 26 Oct 2012 09:44:08 +0200

> Probably doesn't matter much since the value is used as a
> boolean anyway, but it removes the sparse warning:
> 
>  drivers/net/usb/cdc_ncm.c:1090:32: warning: incorrect type in assignment (different base types)
>  drivers/net/usb/cdc_ncm.c:1090:32:    expected unsigned short [unsigned] [usertype] connected
>  drivers/net/usb/cdc_ncm.c:1090:32:    got restricted __le16 [usertype] wValue
> 
> Signed-off-by: Bjørn Mork <bjorn@xxxxxxx>

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux