On 01.03.2018 14:21, Paolo Bonzini wrote: > 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? >
Ok, sure. > There are already some examples (__FUNCTION__, strto*, signal, etc.) > that you can take inspiration from. > Thanks for the tips.