• Andrew Morton's avatar
    [PATCH] fb_copy_cmap() fix · 9a6c9ba2
    Andrew Morton authored
    From: Arjan van de Ven <arjanv@redhat.com>
    
    fb_copy_cmap() takes an argument about wether to do memcpy, copy_from_user or
    copy_to_user.  0 is memcpy, 2 is copy_to_user.  In the ioctl you want
    copy_to_user for copying the colormap to userspace.
    9a6c9ba2
fbmem.c 36.9 KB