diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:51 -0400 |
commit | 64b33619a30ff18c1535ee779572ecffcc4711d2 (patch) | |
tree | 742db1890a5671d105eba372b78c7d383607ffe6 /sound/pci | |
parent | 0cc0844bc6d0bfca97fda48fa28d1f0a7cf878cb (diff) |
long vs. unsigned long - low-hanging fruits in drivers
deal with signedness of the stuff passed to set_bit() et.al.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/bt87x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index 188c7cf21b82..131952f55857 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -157,7 +157,7 @@ struct snd_bt87x { | |||
157 | int dig_rate; | 157 | int dig_rate; |
158 | 158 | ||
159 | spinlock_t reg_lock; | 159 | spinlock_t reg_lock; |
160 | long opened; | 160 | unsigned long opened; |
161 | struct snd_pcm_substream *substream; | 161 | struct snd_pcm_substream *substream; |
162 | 162 | ||
163 | struct snd_dma_buffer dma_risc; | 163 | struct snd_dma_buffer dma_risc; |