On Sun, 12 Jul 2020, Christophe JAILLET wrote: > Le 12/07/2020 à 08:32, Joe Perches a écrit : > > On Sun, 2020-07-12 at 08:29 +0200, Christophe JAILLET wrote: > > > Le 11/07/2020 à 23:20, Joe Perches a écrit : > > > > On Sat, 2020-07-11 at 22:49 +0200, Christophe JAILLET wrote: > > > > > The wrappers in include/linux/pci-dma-compat.h should go away. > > > > why? > > > > > > > > > > > From Christoph Hellwig > > > https://marc.info/?l=kernel-janitors&m=158745678307186&w=4 > > There's no why there. > > There's just an assertion a wrapper should "go away". > > > > "the wrappers in include/linux/pci-dma-compat.h should go away" > > > > wrappers aren't all bad. > > > > > Adding Christoph Hellwig to shed some light. Neither the wrapped name nor the unwrapped name is higher or lower level. Nothing much happens to the arguments. The wrappers and the wrapped functions are not used entirely consistently, eg some files, and perhaps even some functions, use a mixture of the two. There a set of confusingly named constants associated with the two sets of functions, and these constants are also not always used consistently. julia