summaryrefslogtreecommitdiff
path: root/drivers/net/ibm_emac/ibm_emac_mal.h
diff options
context:
space:
mode:
authorMatt Porter <mporter@kernel.crashing.org>2004-12-02 15:46:55 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-12-02 15:46:55 -0800
commitb148c74d9f0717c03cd79ae2614adf8d52328b51 (patch)
treebc47ed9856965688eebd23b058597e5689690c08 /drivers/net/ibm_emac/ibm_emac_mal.h
parentb545069f74abe49d141e39151b9bf15f58ef26c7 (diff)
[PATCH] Fix warnings in ibm_emac driver
This patch fixes annoying warnings in ibm_emac driver. Signed-off-by: Eugene Surovegin <ebs@ebshome.net> Signed-off-by: Matt Porter <mporter@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_mal.h')
-rw-r--r--drivers/net/ibm_emac/ibm_emac_mal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ibm_emac/ibm_emac_mal.h b/drivers/net/ibm_emac/ibm_emac_mal.h
index 8e456ce5af7d..dd9f0dabc6e0 100644
--- a/drivers/net/ibm_emac/ibm_emac_mal.h
+++ b/drivers/net/ibm_emac/ibm_emac_mal.h
@@ -83,6 +83,7 @@ struct ibm_ocp_mal {
GET_MAL0_STANZA(dcrn) \
GET_MAL1_STANZA(dcrn) \
default: \
+ x = 0; \
BUG(); \
} \
x; })