[patch] Staging: bcm: make major and minor signed

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

 



We assume that major is signed in register_control_device_interface(). 

Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index 742ddeb..748460e 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -484,8 +484,8 @@ struct _MINI_ADAPTER
 	BOOLEAN			    AutoSyncup;
 
 	struct net_device	*dev;
-	UINT				major;
-	UINT				minor;
+	int				major;
+	int				minor;
 	wait_queue_head_t 	tx_packet_wait_queue;
 	wait_queue_head_t 	process_rx_cntrlpkt;
 	atomic_t			process_waiting;
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux