Re: [PATCH net-next] net: sierra: shut up sparse restricted type warnings

[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:07 +0200

> Removes the warnings
> 
>  drivers/net/usb/sierra_net.c:343:45: warning: incorrect type in assignment (different base types)
>  drivers/net/usb/sierra_net.c:343:45:    expected unsigned short [unsigned] [short] [usertype] <noident>
>  drivers/net/usb/sierra_net.c:343:45:    got restricted __be16 [usertype] <noident>
> 
> and
> 
>  drivers/net/usb/sierra_net.c:658:18: warning: cast to restricted __le16
> 
> 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