Re: [PATCH v2 2/7] gpiolib: Make use of enum gpio_lookup_flags consistent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 11, 2019 at 03:00:23PM +0300, Andy Shevchenko wrote:
> On Thu, Apr 11, 2019 at 01:37:55PM +0300, Mika Westerberg wrote:
> > On Thu, Apr 11, 2019 at 12:58:48PM +0300, Andy Shevchenko wrote:
> > > > > +acpi_gpiochip_parse_own_gpio(struct acpi_gpio_chip *achip,
> > > > > +			     struct fwnode_handle *fwnode,
> > > > > +			     const char **name,
> > > > > +			     unsigned long *lflags,
> > > > > +			     unsigned int *dflags)
> > > > 
> > > > Why not "unsigned int"? Now it looks inconsistent.
> > > 
> > > inconsistent with what part?
> > 
> > Now you have:
> > 
> >    unsigned long *lflags
> >    unsigned int *dflags
> > 
> > why not
> > 
> >    unsigned int *lflags
> >    unsigned int *dflags
> > 
> > ?
> 
> Have you looked at the patch 4 in the series?

Actually I did not.

> It changes type of dflags to be enum gpiod_flags.

Indeed it does, so please ignore my comment then :-)



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux