aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorVincent Mailhol <[email protected]>2022-06-11 16:20:37 +0000
committerMarc Kleine-Budde <[email protected]>2022-06-11 20:45:49 +0000
commite0e0cc54000e6f36a38c70778feb9d753cfb87e2 (patch)
treefbe8a0e33f00395d4eec31329ec8a34c3655360a /net/unix/sysctl_net_unix.c
parentcan: etas_es58x: replace es58x_device::rx_max_packet_size by usb_maxpacket() (diff)
downloadkernel-e0e0cc54000e6f36a38c70778feb9d753cfb87e2.tar.gz
kernel-e0e0cc54000e6f36a38c70778feb9d753cfb87e2.zip
can: etas_es58x: fix signedness of USB RX and TX pipes
USB pipes are meant to be unsigned int (c.f. [1]). However, fields rx_pipe and tx_pipe of struct es58x_device are both signed integers. Change the type of those two fields from int to unsigned int. [1] https://elixir.bootlin.com/linux/v5.18/source/include/linux/usb.h#L1571 Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Vincent Mailhol <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions