diff --git a/arch/x86/kernel/scx200_32.c b/arch/x86/kernel/scx200_32.c index 48759772091393cb5d1349157dde9d01cb78213a..87bc159d29dfeaa8fdf0563a0e63128608c6fa1f 100644 --- a/arch/x86/kernel/scx200_32.c +++ b/arch/x86/kernel/scx200_32.c @@ -24,7 +24,7 @@ MODULE_DESCRIPTION("NatSemi SCx200 Driver"); MODULE_LICENSE("GPL"); unsigned scx200_gpio_base = 0; -long scx200_gpio_shadow[2]; +unsigned long scx200_gpio_shadow[2]; unsigned scx200_cb_base = 0; diff --git a/drivers/atm/ambassador.h b/drivers/atm/ambassador.h index 8296420ceaef3a59a422d240efb3e424f9fba8c1..ff2a303cbe000325c71079d2846ffc98ed26fdba 100644 --- a/drivers/atm/ambassador.h +++ b/drivers/atm/ambassador.h @@ -626,7 +626,7 @@ typedef struct { struct amb_dev { u8 irq; - long flags; + unsigned long flags; u32 iobase; u32 * membase; diff --git a/drivers/atm/horizon.h b/drivers/atm/horizon.h index 4461229f56a54cf8aaa6c3df5b91bfe3aa62f519..b48859d0d434bcfaf44ad0a94d848e6f12e9da1f 100644 --- a/drivers/atm/horizon.h +++ b/drivers/atm/horizon.h @@ -423,7 +423,7 @@ struct hrz_dev { wait_queue_head_t tx_queue; u8 irq; - long flags; + unsigned long flags; u8 tx_last; u8 tx_idle; diff --git a/drivers/char/dsp56k.c b/drivers/char/dsp56k.c index acbfe1c49b4dc9148c48d788ccd4f8c2111961c6..a69c6528326005694809005a546436a1af5cd5d1 100644 --- a/drivers/char/dsp56k.c +++ b/drivers/char/dsp56k.c @@ -136,7 +136,7 @@ static int sizeof_bootstrap = 375; static struct dsp56k_device { - long in_use; + unsigned long in_use; long maxio, timeout; int tx_wsize, rx_wsize; } dsp56k; diff --git a/drivers/char/rio/host.h b/drivers/char/rio/host.h index 23d0681fe491abffeb08795f4028cc017c297b16..78f24540c224583deae9d7ccec68ed49dcdb7025 100644 --- a/drivers/char/rio/host.h +++ b/drivers/char/rio/host.h @@ -99,7 +99,7 @@ struct Host { struct UnixRup UnixRups[MAX_RUP + LINKS_PER_UNIT]; int timeout_id; /* For calling 100 ms delays */ int timeout_sem; /* For calling 100 ms delays */ - long locks; /* long req'd for set_bit --RR */ + unsigned long locks; /* long req'd for set_bit --RR */ char ____end_marker____; }; #define Control CardP->DpControl diff --git a/drivers/char/riscom8.h b/drivers/char/riscom8.h index 6317aade201a697dd7f484b1c2d49e17f78aa172..9cc1313d5e67934deb7819d31d8a26bf3ff71bdb 100644 --- a/drivers/char/riscom8.h +++ b/drivers/char/riscom8.h @@ -71,7 +71,7 @@ struct riscom_port { struct tty_struct * tty; int count; int blocked_open; - long event; /* long req'd for set_bit --RR */ + unsigned long event; /* long req'd for set_bit --RR */ int timeout; int close_delay; unsigned char * xmit_buf; diff --git a/drivers/char/sx.h b/drivers/char/sx.h index 432aad0a2dddfd7a2d3d2d6e51c4fb10944c6c8e..70d9783c732391e593eeb8457302aa4fd8016d64 100644 --- a/drivers/char/sx.h +++ b/drivers/char/sx.h @@ -27,7 +27,7 @@ struct sx_port { int c_dcd; struct sx_board *board; int line; - long locks; + unsigned long locks; }; struct sx_board { @@ -45,7 +45,7 @@ struct sx_board { int poll; int ta_type; struct timer_list timer; - long locks; + unsigned long locks; }; struct vpd_prom { diff --git a/drivers/fc4/fcp_impl.h b/drivers/fc4/fcp_impl.h index 1ac61330592e7ff162fba2b4f46898659df0b02e..506338a461ba86be0662b1ed6e3776e916ef05c6 100644 --- a/drivers/fc4/fcp_impl.h +++ b/drivers/fc4/fcp_impl.h @@ -91,7 +91,7 @@ typedef struct _fc_channel { fcp_cmd *scsi_cmd_pool; char *scsi_rsp_pool; dma_addr_t dma_scsi_cmd, dma_scsi_rsp; - long *scsi_bitmap; + unsigned long *scsi_bitmap; long scsi_bitmap_end; int scsi_free; int (*encode_addr)(struct scsi_cmnd *, u16 *, struct _fc_channel *, fcp_cmnd *); diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index 3cd8d5ba239beb8f3a355c6c7edf3e33f87f98d0..34733c903df796d3ea4d610ccb26f42ddb7cd359 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h @@ -202,7 +202,7 @@ struct Layer1 { void *hardware; struct BCState *bcs; struct PStack **stlistp; - long Flags; + unsigned long Flags; struct FsmInst l1m; struct FsmTimer timer; void (*l1l2) (struct PStack *, int, void *); diff --git a/drivers/isdn/hisax/hisax_if.h b/drivers/isdn/hisax/hisax_if.h index 4898fce2d5094d220f529950b1d9b98d8f30c8fb..aa7c94037b2b0eff7071302c37a9dd411f61b3e8 100644 --- a/drivers/isdn/hisax/hisax_if.h +++ b/drivers/isdn/hisax/hisax_if.h @@ -56,7 +56,7 @@ struct hisax_d_if { struct IsdnCardState *cs; struct hisax_b_if *b_if[2]; struct sk_buff_head erq; - long ph_state; + unsigned long ph_state; }; int hisax_register(struct hisax_d_if *hisax_if, struct hisax_b_if *b_if[], diff --git a/drivers/net/ni65.c b/drivers/net/ni65.c index 09768524511281d06fd881f9faabdd4c4717e1bf..3edc971d0ecabfba1ecfdee18af52bc5e1204682 100644 --- a/drivers/net/ni65.c +++ b/drivers/net/ni65.c @@ -183,7 +183,7 @@ static struct card { short addr_offset; unsigned char *vendor_id; char *cardname; - long config; + unsigned long config; } cards[] = { { .id0 = NI65_ID0, diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c index 26058b4f8f36b2c5785a9291fd4baf8af10e017d..ff37bf437a99e3b955e373b12b2070c1ba37b62d 100644 --- a/drivers/net/wan/cosa.c +++ b/drivers/net/wan/cosa.c @@ -154,8 +154,8 @@ struct cosa_data { int nchannels; /* # of channels on this card */ int driver_status; /* For communicating with firmware */ int firmware_status; /* Downloaded, reseted, etc. */ - long int rxbitmap, txbitmap; /* Bitmap of channels who are willing to send/receive data */ - long int rxtx; /* RX or TX in progress? */ + unsigned long rxbitmap, txbitmap;/* Bitmap of channels who are willing to send/receive data */ + unsigned long rxtx; /* RX or TX in progress? */ int enabled; int usage; /* usage count */ int txchan, txsize, rxsize; diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h index c27b2c1c06af5de29aedbd996e32dc2787423866..e6516a186d0eadc2a752ac26fa32fb49dec20c5a 100644 --- a/drivers/net/wireless/hostap/hostap_wlan.h +++ b/drivers/net/wireless/hostap/hostap_wlan.h @@ -661,7 +661,7 @@ struct local_info { #define HOSTAP_BITS_TRANSMIT 0 #define HOSTAP_BITS_BAP_TASKLET 1 #define HOSTAP_BITS_BAP_TASKLET2 2 - long bits; + unsigned long bits; struct ap_data *ap; diff --git a/drivers/net/wireless/ray_cs.h b/drivers/net/wireless/ray_cs.h index bd73ebf033401cbddbffb901784c0de53bcf2489..1e23b7f4cca7adb74a25854558e3290b9534e044 100644 --- a/drivers/net/wireless/ray_cs.h +++ b/drivers/net/wireless/ray_cs.h @@ -33,8 +33,8 @@ typedef struct ray_dev_t { void __iomem *rmem; /* pointer to receive buffer window */ struct pcmcia_device *finder; /* pointer back to struct pcmcia_device for card */ struct timer_list timer; - long tx_ccs_lock; - long ccs_lock; + unsigned long tx_ccs_lock; + unsigned long ccs_lock; int dl_param_ccs; union { struct b4_startup_params b4; diff --git a/include/linux/agpgart.h b/include/linux/agpgart.h index bfb8ec791b7b6ef3596d1306f4b5ee6de36de898..09fbf7e5a6cbbbba0b3fe6991f4aefa494e937a4 100644 --- a/include/linux/agpgart.h +++ b/include/linux/agpgart.h @@ -197,7 +197,7 @@ struct agp_file_private { struct agp_file_private *next; struct agp_file_private *prev; pid_t my_pid; - long access_flags; /* long req'd for set_bit --RR */ + unsigned long access_flags; /* long req'd for set_bit --RR */ }; struct agp_front_data { diff --git a/include/linux/hdlcdrv.h b/include/linux/hdlcdrv.h index 4f6ee3b267fa222ee03567b8452d16f1d0e0ef10..bf6302f6b5f88d44c2acdafa7f17022630d84cba 100644 --- a/include/linux/hdlcdrv.h +++ b/include/linux/hdlcdrv.h @@ -200,7 +200,7 @@ struct hdlcdrv_state { struct hdlcdrv_hdlcrx { struct hdlcdrv_hdlcbuffer hbuf; - long in_hdlc_rx; + unsigned long in_hdlc_rx; /* 0 = sync hunt, != 0 receiving */ int rx_state; unsigned int bitstream; diff --git a/include/linux/scx200_gpio.h b/include/linux/scx200_gpio.h index d2b058130eb123586c95d843521f4cbbfdab6629..ece4e553e9ac26d61ce77eb31bc4e4a1b6874be3 100644 --- a/include/linux/scx200_gpio.h +++ b/include/linux/scx200_gpio.h @@ -1,7 +1,7 @@ u32 scx200_gpio_configure(unsigned index, u32 set, u32 clear); extern unsigned scx200_gpio_base; -extern long scx200_gpio_shadow[2]; +extern unsigned long scx200_gpio_shadow[2]; extern struct nsc_gpio_ops scx200_gpio_ops; #define scx200_gpio_present() (scx200_gpio_base!=0) @@ -9,7 +9,7 @@ extern struct nsc_gpio_ops scx200_gpio_ops; /* Definitions to make sure I do the same thing in all functions */ #define __SCx200_GPIO_BANK unsigned bank = index>>5 #define __SCx200_GPIO_IOADDR unsigned short ioaddr = scx200_gpio_base+0x10*bank -#define __SCx200_GPIO_SHADOW long *shadow = scx200_gpio_shadow+bank +#define __SCx200_GPIO_SHADOW unsigned long *shadow = scx200_gpio_shadow+bank #define __SCx200_GPIO_INDEX index &= 31 #define __SCx200_GPIO_OUT __asm__ __volatile__("outsl":"=mS" (shadow):"d" (ioaddr), "0" (shadow)) @@ -42,7 +42,7 @@ static inline void scx200_gpio_set_high(unsigned index) { __SCx200_GPIO_IOADDR; __SCx200_GPIO_SHADOW; __SCx200_GPIO_INDEX; - set_bit(index, shadow); + set_bit(index, shadow); /* __set_bit()? */ __SCx200_GPIO_OUT; } @@ -53,7 +53,7 @@ static inline void scx200_gpio_set_low(unsigned index) { __SCx200_GPIO_IOADDR; __SCx200_GPIO_SHADOW; __SCx200_GPIO_INDEX; - clear_bit(index, shadow); + clear_bit(index, shadow); /* __clear_bit()? */ __SCx200_GPIO_OUT; } diff --git a/include/linux/stallion.h b/include/linux/stallion.h index 4a0a329beafb5c39038473498aa60465fde05087..94b4a10b912f94661e3dba9c568d1ecf183abf40 100644 --- a/include/linux/stallion.h +++ b/include/linux/stallion.h @@ -75,7 +75,7 @@ struct stlport { int ioaddr; int uartaddr; unsigned int pagenr; - long istate; + unsigned long istate; int flags; int baud_base; int custom_divisor; diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index 188c7cf21b8227465fdd248b6286efabc6f373d6..131952f558576127a35e888139ef3f5a4f07f610 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c @@ -157,7 +157,7 @@ struct snd_bt87x { int dig_rate; spinlock_t reg_lock; - long opened; + unsigned long opened; struct snd_pcm_substream *substream; struct snd_dma_buffer dma_risc;