Re: [PATCH] devtools: catch empty symbol maps

2022-11-15 Thread Thomas Monjalon
14/11/2022 16:10, Ferruh Yigit: > On 11/14/2022 2:31 PM, Bruce Richardson wrote: > > On Mon, Nov 14, 2022 at 03:16:51PM +0100, David Marchand wrote: > >> version.map are now optional for drivers if no symbol is exported. > >> Having no symbol exported from a library does not make sense. > >> > >> C

Re: [PATCH] devtools: catch empty symbol maps

2022-11-14 Thread Ferruh Yigit
On 11/14/2022 2:31 PM, Bruce Richardson wrote: On Mon, Nov 14, 2022 at 03:16:51PM +0100, David Marchand wrote: version.map are now optional for drivers if no symbol is exported. Having no symbol exported from a library does not make sense. Catch all empty maps and warn about them. Example: $ .

Re: [PATCH] devtools: catch empty symbol maps

2022-11-14 Thread Bruce Richardson
On Mon, Nov 14, 2022 at 03:16:51PM +0100, David Marchand wrote: > version.map are now optional for drivers if no symbol is exported. > Having no symbol exported from a library does not make sense. > > Catch all empty maps and warn about them. > > Example: > $ ./devtools/check-symbol-maps.sh > Fou

[PATCH] devtools: catch empty symbol maps

2022-11-14 Thread David Marchand
version.map are now optional for drivers if no symbol is exported. Having no symbol exported from a library does not make sense. Catch all empty maps and warn about them. Example: $ ./devtools/check-symbol-maps.sh Found empty maps: drivers/crypto/uadk/version.map drivers/net/gve/version.map drive