diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-12-08 05:39:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:01 -0500 |
commit | df61bec3ae8983984070db24ae481fe7297a6dff (patch) | |
tree | 0579a16dde2af018d54a62ae6c693bbbbe28a14a /drivers/isdn/hisax/diva.c | |
parent | 281f15e6d9bfe18f200119bf8ffcbc67e8a33718 (diff) |
[PATCH] ISDN: fix warnings
* diva, sedlbauer: the 'ready' label is only used in certain configurations
* hfc_pci:
- cast 'arg' to proper size for testing and printing
- print out 'void __iomem *' variables with %p,
rather than using incorrect casts that throw warnings
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hisax/diva.c')
-rw-r--r-- | drivers/isdn/hisax/diva.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/diva.c b/drivers/isdn/hisax/diva.c index 3dacfff93f5f..6eebeb441bfd 100644 --- a/drivers/isdn/hisax/diva.c +++ b/drivers/isdn/hisax/diva.c | |||
@@ -1121,7 +1121,11 @@ setup_diva(struct IsdnCard *card) | |||
1121 | bytecnt = 32; | 1121 | bytecnt = 32; |
1122 | } | 1122 | } |
1123 | } | 1123 | } |
1124 | |||
1125 | #ifdef __ISAPNP__ | ||
1124 | ready: | 1126 | ready: |
1127 | #endif | ||
1128 | |||
1125 | printk(KERN_INFO | 1129 | printk(KERN_INFO |
1126 | "Diva: %s card configured at %#lx IRQ %d\n", | 1130 | "Diva: %s card configured at %#lx IRQ %d\n", |
1127 | (cs->subtyp == DIVA_PCI) ? "PCI" : | 1131 | (cs->subtyp == DIVA_PCI) ? "PCI" : |