mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
ed2ab35ef1
We now pass the device to the debug messages, but on non-x86,
this is an invalid pointer in vga_arb_device_init:
drivers/gpu/vga/vgaarb.c: In function 'vga_arb_device_init':
drivers/gpu/vga/vgaarb.c:1467:4: error: 'dev' may be used uninitialized in this function [-Werror=maybe-uninitialized]
This moves the initialization of the dev pointer outside of the
architecture #ifdef.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vga_switcheroo.c | ||
vgaarb.c |