projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf58bd6
)
Staging: bcm: make major and minor signed
author
Dan Carpenter
<error27@gmail.com>
Fri, 8 Oct 2010 12:54:33 +0000
(14:54 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 8 Oct 2010 14:29:54 +0000
(07:29 -0700)
We assume that major is signed in register_control_device_interface().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Adapter.h
patch
|
blob
|
history
diff --git
a/drivers/staging/bcm/Adapter.h
b/drivers/staging/bcm/Adapter.h
index 742ddeb798d02d5bf887d509a319448691bb5a2f..748460e898d8702b99309dc95a7c87117a2f7bbe 100644
(file)
--- 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;