Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/net/dm9k.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/dm9k.c b/drivers/net/dm9k.c index 40a7c67..983edd4 100644 --- a/drivers/net/dm9k.c +++ b/drivers/net/dm9k.c @@ -299,6 +299,8 @@ static unsigned dm9k_read_packet_status(int b_width, void __iomem *port, unsigne case IORESOURCE_MEM_32BIT: rc = dm9k_read_packet_status_32(port, status); break; + default: + rc = -EINVAL; } return rc; -- 1.7.7.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox