On 01/03/2018 11:59, Cornelia Huck wrote: >>> >>> Signed-off-by: Julia Suvorova <jus...@mail.ru> >> What about adding a warning for basename()/dirname() usage in >> scripts/checkpatch.pl ? > +1 to that. >
Good idea indeed. Julia, would you like to send a second patch that adds the warning? There are already some examples (__FUNCTION__, strto*, signal, etc.) that you can take inspiration from. Paolo