OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f13b0
)
sfc: Removed unncesssary UL suffixes on 0 literals
author
Ben Hutchings
<bhutchings@solarflare.com>
Fri, 16 May 2008 20:15:29 +0000
(21:15 +0100)
committer
Jeff Garzik
<jgarzik@redhat.com>
Thu, 22 May 2008 09:59:26 +0000
(
05:59
-0400)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/efx.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/efx.c
b/drivers/net/sfc/efx.c
index
1a065fc
..
3494f4c
100644
(file)
--- a/
drivers/net/sfc/efx.c
+++ b/
drivers/net/sfc/efx.c
@@
-793,7
+793,7
@@
static int efx_init_io(struct efx_nic *efx)
fail4:
release_mem_region(efx->membase_phys, efx->type->mem_map_size);
fail3:
- efx->membase_phys = 0
UL
;
+ efx->membase_phys = 0;
fail2:
pci_disable_device(efx->pci_dev);
fail1:
@@
-811,7
+811,7
@@
static void efx_fini_io(struct efx_nic *efx)
if (efx->membase_phys) {
pci_release_region(efx->pci_dev, efx->type->mem_bar);
- efx->membase_phys = 0
UL
;
+ efx->membase_phys = 0;
}
pci_disable_device(efx->pci_dev);