Re: [PATCH v9 17/20] tools: gpio: port gpio-hammer to v2 uAPI

2020-09-24 Thread Kent Gibson
On Wed, Sep 23, 2020 at 07:30:52PM +0300, Andy Shevchenko wrote: > On Tue, Sep 22, 2020 at 5:36 AM Kent Gibson wrote: > > > > Port the gpio-hammer tool to the latest GPIO uAPI. > > _BITUL() and _BITULL() are part of Linux uAPI. Why not to use them? > const.h > Yeah, that is an oversight on my p

Re: [PATCH v9 17/20] tools: gpio: port gpio-hammer to v2 uAPI

2020-09-23 Thread Andy Shevchenko
On Tue, Sep 22, 2020 at 5:36 AM Kent Gibson wrote: > > Port the gpio-hammer tool to the latest GPIO uAPI. _BITUL() and _BITULL() are part of Linux uAPI. Why not to use them? const.h > Signed-off-by: Kent Gibson > --- > tools/gpio/gpio-hammer.c | 32 +--- > tools/gpio/gpio-utils.c | 164 +

[PATCH v9 17/20] tools: gpio: port gpio-hammer to v2 uAPI

2020-09-21 Thread Kent Gibson
Port the gpio-hammer tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 32 +--- tools/gpio/gpio-utils.c | 164 --- tools/gpio/gpio-utils.h | 46 ++- 3 files changed, 197 insertions(+), 45 deletions(-) diff