summaryrefslogtreecommitdiff
path: root/drivers/char/generic_nvram.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-09-11 05:36:09 (GMT)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-09-11 06:01:15 (GMT)
commit1d6ed32226326a6e6cd67cd9ee4294bcbb0c9a15 (patch)
tree0baedebba58eb55661ac7a39027e48576652424a /drivers/char/generic_nvram.c
parentbc00351edd5c1b84d48c3fdca740fedfce4ae6ce (diff)
downloadlinux-1d6ed32226326a6e6cd67cd9ee4294bcbb0c9a15.tar.xz
powerpc/iseries: Fix oops reading from /proc/iSeries/mf/*/cmdline
That code uses dma_mapping_error() with a NULL device, which is a bad idea :-) The proper fix might be to start using some kind of pseudo device for all these low level mappings with the hypervisor but that will be for another day. Since it directly calls into the low level iommu code, I see no problem in having it directly test against DMA_ERROR_CODE instead of using the accessors with a NULL argument for now. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/char/generic_nvram.c')
0 files changed, 0 insertions, 0 deletions