Re: [PATCH V4 6/8] libgpiod: Derive debug traits for few definitions

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

 



On 27-07-22, 10:58, Kent Gibson wrote:
> On Fri, Jul 08, 2022 at 05:04:59PM +0530, Viresh Kumar wrote:
> > These are required for tests, which will be added by a later commit.
> > 
> 
> Squash this patch into patch 4, as you know you will need them
> eventually.  All public types should implement Debug[1].
> 
> They should also implement Clone, Eq, PartialEq and Default where
> that makes sense.  And Copy if you are sure you wont add something
> non-Copyable to them in the future.

Sure, will define few more for all public structures.

-- 
viresh



[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