IRDA: Fix global type conflicts in net/irda/irsysctl.c
Subsystems (2)
The externs here didn't agree with the declarations in qos.c.
Better would be probably to move this into a header, but since it's common practice to have naked externs with sysctls I left it for now.
Signed-off-by Andi Kleen <[email protected]>
net/irda/irsysctl.c +3 -3
@@ -40,9 +40,9 @@ extern int sysctl_slot_timeout;extern int sysctl_fast_poll_increase;extern char sysctl_devname[];extern int sysctl_max_baud_rate; -extern int sysctl_min_tx_turn_time; -extern int sysctl_max_tx_data_size; -extern int sysctl_max_tx_window; +extern unsigned sysctl_min_tx_turn_time; +extern unsigned sysctl_max_tx_data_size; +extern unsigned sysctl_max_tx_window;extern int sysctl_max_noreply_time;extern int sysctl_warn_noreply_time;extern int sysctl_lap_keepalive_time;
Signature · 1 line
[email protected] -- Speaking for myself only
David Miller
maintainerPlease use "unsigned int" rather than plain "unsigned", and yes that means you might have to fix up the other instances likewise.