Arnd Bergmann
458025f6c1
vgaarb: avoid -Wempty-body warnings
...
Building with W=1 shows a few warnings for an empty macro:
drivers/gpu/drm/qxl/qxl_drv.c: In function 'qxl_pci_probe':
drivers/gpu/drm/qxl/qxl_drv.c:131:50: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
131 | vga_put(pdev, VGA_RSRC_LEGACY_IO);
| ^
drivers/gpu/drm/qxl/qxl_drv.c: In function 'qxl_pci_remove':
drivers/gpu/drm/qxl/qxl_drv.c:159:50: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
159 | vga_put(pdev, VGA_RSRC_LEGACY_IO);
Change this to an inline function to make it more robust and avoid
the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: https://patchwork.freedesktop.org/patch/msgid/20210322105307.1291840-2-arnd@kernel.org
2021-03-22 15:02:14 +01:00
..
2021-03-01 11:45:04 +01:00
2021-02-22 09:45:23 -08:00
2021-02-24 10:25:37 -08:00
2021-03-08 11:59:17 +01:00
2021-02-24 10:35:29 -08:00
2021-02-22 10:27:48 -08:00
2021-03-16 17:08:46 +10:00
2021-03-10 12:22:26 +00:00
2021-03-13 11:27:30 -08:00
2021-02-21 14:44:44 -08:00
2021-03-02 15:33:00 +01:00
2021-02-22 09:27:18 -08:00
2021-02-22 13:29:55 -08:00
2021-02-25 10:17:31 -08:00
2021-03-08 11:59:17 +01:00
2021-03-08 15:16:30 -08:00
2021-03-11 07:47:48 -07:00
2021-02-26 09:41:04 -08:00
2021-03-01 10:15:07 -07:00
2021-02-23 09:54:51 -07:00
2021-02-26 09:41:03 -08:00
2021-02-22 09:45:23 -08:00
2021-03-13 11:27:30 -08:00
2021-03-11 14:40:50 +09:00
2021-03-10 09:16:09 +01:00
2021-02-28 12:06:45 -08:00
2021-02-26 09:41:03 -08:00
2021-02-26 13:59:32 -08:00
2021-02-24 21:05:28 +05:30
2021-02-25 18:28:24 +05:30
2021-02-24 09:54:24 -08:00
2021-02-26 13:59:32 -08:00
2021-03-12 15:10:03 +01:00
2021-02-26 09:41:04 -08:00
2021-02-24 13:38:28 -08:00
2021-02-24 10:13:55 -08:00
2021-02-26 09:40:59 -08:00
2021-02-23 19:26:43 +01:00
2021-02-24 13:38:32 -08:00
2021-02-24 13:38:32 -08:00
2021-02-24 13:38:35 -08:00
2021-02-23 11:29:52 -08:00
2021-02-23 13:39:45 -08:00
2021-02-26 09:41:05 -08:00
2021-02-18 23:17:57 -08:00
2021-03-07 14:12:43 -07:00
2021-02-21 10:29:20 -08:00
2021-02-23 11:29:52 -08:00
2021-03-08 20:12:08 +00:00
2021-02-24 13:38:31 -08:00
2021-02-26 09:41:03 -08:00
2021-03-11 14:40:50 +09:00
2021-02-26 10:19:03 -08:00
2021-02-22 10:22:54 -08:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:05 -08:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:41:03 -08:00
2021-02-22 13:16:53 -05:00
2021-02-19 11:54:08 +01:00
2021-02-19 11:54:08 +01:00
2021-02-19 11:35:28 +01:00
2021-03-16 17:08:46 +10:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-26 09:41:03 -08:00
2021-03-13 11:27:29 -08:00
2021-03-13 11:27:31 -08:00
2021-02-26 09:41:00 -08:00
2021-02-26 09:41:00 -08:00
2021-02-26 09:41:00 -08:00
2021-02-24 13:38:35 -08:00
2021-02-24 13:38:33 -08:00
2021-03-13 11:27:30 -08:00
2021-03-13 11:27:30 -08:00
2021-02-26 09:41:00 -08:00
2021-02-24 10:25:37 -08:00
2021-02-27 08:07:12 -08:00
2021-02-23 20:32:11 -07:00
2021-03-04 15:52:44 +01:00
2021-02-26 09:17:24 -08:00
2021-02-24 13:38:29 -08:00
2021-02-26 09:41:01 -08:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:40:59 -08:00
2021-02-25 09:56:08 -08:00
2021-02-23 14:11:13 -06:00
2021-02-23 14:12:01 -06:00
2021-02-23 09:28:51 -08:00
2021-03-06 12:52:39 +01:00
2021-03-10 10:56:46 +00:00
2021-02-24 14:52:41 +01:00
2021-03-10 15:25:02 +01:00
2021-02-26 09:41:03 -08:00
2021-02-21 12:35:04 -08:00
2021-02-26 09:41:01 -08:00
2021-02-21 17:25:22 -07:00
2021-02-23 13:39:45 -08:00
2021-03-10 09:51:45 +01:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:04 -08:00
2021-02-17 14:25:50 -08:00
2021-03-13 11:27:30 -08:00
2021-02-26 09:41:04 -08:00
2021-03-02 17:25:46 -07:00
2021-02-20 10:13:32 -05:00
2021-02-23 13:39:45 -08:00
2021-03-01 15:25:24 -08:00
2021-03-04 09:51:50 -05:00
2021-02-20 21:28:04 -08:00
2021-03-10 09:51:45 +01:00
2021-03-11 11:11:33 +01:00
2021-02-23 07:52:56 -05:00
2021-03-22 15:02:14 +01:00
2021-03-09 16:12:20 -08:00
2021-02-23 07:52:58 -05:00
2021-02-26 09:41:00 -08:00
2021-02-26 09:41:01 -08:00
2021-02-26 09:41:01 -08:00