summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-04-14 19:29:10 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-14 19:29:10 +0200
commit8d3ee2cb0ab59f78fdc801ede7db15ef47387bd0 (patch)
tree004a3b3b5f0d1bc9a32d27bc7f555bae5a04112a /kernel/kmod.c
parentDVB: dvb-usb-remote - fix oops when changing keymap (diff)
downloadlinux-8d3ee2cb0ab59f78fdc801ede7db15ef47387bd0.tar.xz
linux-8d3ee2cb0ab59f78fdc801ede7db15ef47387bd0.zip
[SCSI] QLOGICPTI: Do not unmap DMA unless we actually mapped something.
We only map DMA when cmd->request_bufflen is non-zero for non-sg buffers, we thus should make the same check when unmapping. Based upon a report from Pasi Pirhonen. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions