diff options
author | Donald Robson <donald.robson@imgtec.com> | 2023-11-30 16:00:15 +0000 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2023-12-04 09:41:59 +0100 |
commit | 7620c6bd76b1076b104926b78da8d6ff17cfef5d (patch) | |
tree | 7db79a12ee9afa76d0a43e0dbbebb33e0d76f0ad /scripts/generate_rust_target.rs | |
parent | 0ffe9eb826f1391d52089ba8056a3778688da57d (diff) |
drm/imagination: pvr_device_process_active_queues now static
The function below is used only within this source file, but is not static.
>> drivers/gpu/drm/imagination/pvr_device.c:129:6: warning: no previous prototype for function 'pvr_device_process_active_queues' [-Wmissing-prototypes]
129 | void pvr_device_process_active_queues(struct pvr_device *pvr_dev)
| ^
drivers/gpu/drm/imagination/pvr_device.c:129:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
129 | void pvr_device_process_active_queues(struct pvr_device *pvr_dev)
| ^
| static
1 warning generated.
Make it static.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311250632.giVEx7MU-lkp@intel.com/
Fixes: eaf01ee5ba28 ("drm/imagination: Implement job submission and scheduling")
Signed-off-by: Donald Robson <donald.robson@imgtec.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231130160017.259902-3-donald.robson@imgtec.com
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions