• Jon Mason's avatar
    [PATCH] dl2k: DMA freeing error · 9ee09d9c
    Jon Mason authored
    This patch fixes an error in the dl2k driver's DMA mapping/unmapping.
    The adapter uses the upper 16bits of the DMA address for the buffer
    size.  However, this is not masked off when referencing the DMA
    address, and can lead to errors by trying to free a DMA address out of
    range.
    
    Thanks,
    Jon
    Signed-off-by: default avatarJon Mason <jdmason@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    9ee09d9c
dl2k.c 49.8 KB