Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [RFC PATCH v1 24/40] metag: DMA | Date | Fri, 23 Nov 2012 16:47:27 +0000 |
| |
On Friday 23 November 2012, James Hogan wrote: > Subject: [PATCH 1/1] asm-generic/io.h: check CONFIG_VIRT_TO_BUS > > Make asm-generic/io.h check CONFIG_VIRT_TO_BUS before defining > virt_to_bus() and bus_to_virt(), otherwise it's easy to accidentally > have a silently failing incorrect direct mapped definition rather then > no definition at all. > > Signed-off-by: James Hogan <james.hogan@imgtec.com>
Good catch!
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |