staging: erofs: fixed -Wmissing-prototype warnings.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] staging: erofs: fixed -Wmissing-prototype warnings.
Quoted 20 lines · Jeremy Sowden
Quoted 7 lines · Gao Xiang
Quoted 3 lines · Jeremy Sowden
Fixes for -Wmissing-prototype warnings in the erofs driver. One group of functions have been made static; for the second, prototypes have been moved to a head
Is -Wmissing-prototypes required for the current linux kernel? I cannot see this warning in my personal kernel compilation...
Quoted 8 lines
Functions your fix have already been added proper erofs prefix, therefore it wouldn't pollute the global namespace:
z_erofs_vle_work_releasez_erofs_unzip_lz4erofs_try_to_release_workgroup
erofs_workgroup_free_rcuz_erofs_map_blocks_iterThere was a request for help to fix these warnings on the driverdev-devel mailing list last Novemeber (I've also attached the message):
Quoted 5 lines
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-November/128432.html
Currently, the flag is only enabled by passing W=1 to make, but since it is useful, the idea is to fix all the current warnings and enable it in the main build.
OK, it is fine with me personally too since it has no logic change. I will also take care of W=1 from now on, and thanks for your explanation ;)
Thanks,
Gao Xiang
Quoted 2 lines
J.