• Andrew Morton's avatar
    [PATCH] ppc64: iSeries virtual cdrom module fix · ff15d3ec
    Andrew Morton authored
    From: Stephen Rothwell <sfr@canb.auug.org.au>
    
    This patch fixes loading viocd as a module.  It would oops because I was
    passing the address of a static buffer to dma_map_single and when loaded as
    a module, this address is not valid for that purpose.
    
    There are a couple of simple cleanups here as well.
    ff15d3ec
viocd.c 17.8 KB