]> Pileus Git - ~andy/linux/commit
udldrmfb: udl_get_edid: usb_control_msg buffer must not be on the stack
authorHans de Goede <hdegoede@redhat.com>
Fri, 11 Jan 2013 11:08:57 +0000 (12:08 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 13 Jan 2013 22:44:33 +0000 (08:44 +1000)
commit242187b362555849e8c971dfbbfd55f8bd9fa717
tree6ec50cb4197fdf8a5d1ad8391d483f6f33ec7dbd
parentc930812fe5ebe725760422c9c351d1f6fde1502d
udldrmfb: udl_get_edid: usb_control_msg buffer must not be on the stack

The buffer passed to usb_control_msg may end up in scatter-gather list, and
may thus not be on the stack. Having it on the stack usually works on x86, but
not on other archs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_connector.c