Skip to contentSkip to conversation

M68k HP300 DIO bus: Fix typo in dio_resource_len()

PATCH New Geert Uytterhoeven 1 participant 1 message Nov 21, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 M68k HP300 DIO bus: Fix typo in dio_resource_len()

HP300 DIO bus: Fix typo in dio_resource_len()

include/linux/dio.h +1 -1
@@ -254,7 +254,7 @@
 
 #define dio_resource_start(d) ((d)->resource.start)
 #define dio_resource_end(d)   ((d)->resource.end)
-#define dio_resource_len(d)   ((d)->resource.end-(z)->resource.start+1)
+#define dio_resource_len(d)   ((d)->resource.end-(d)->resource.start+1)
 #define dio_resource_flags(d) ((d)->resource.flags)
 
 #define dio_request_device(d, name) \

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds