From c3f429e3bb295586c7516f8f3f8a1a2ab38ff254 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 16 Oct 2007 14:59:10 -0700 Subject: Backport kernel commit 64b33619a30ff18c1535ee779572ecffcc4711d2 kernel-sync: Date: Sun, 14 Oct 2007 18:35:20 +0000 (+0100) 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 Signed-off-by: Linus Torvalds --- linux/sound/pci/bt87x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/sound') diff --git a/linux/sound/pci/bt87x.c b/linux/sound/pci/bt87x.c index a6e7971e3..40290e0c7 100644 --- a/linux/sound/pci/bt87x.c +++ b/linux/sound/pci/bt87x.c @@ -162,7 +162,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; -- cgit v1.2.3