lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sat, 29 Apr 2023 11:48:52 -0300
From:   Joaquin Aramendia <samsagax@...il.com>
To:     Guenter Roeck <linux@...ck-us.net>
Cc:     derekjohn.clark@...il.com, jdelvare@...e.com,
        linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: (oxp-sensors) Use less convoluted enum cast

Thanks, Guenter!

El sáb, 29 abr 2023 a la(s) 11:43, Guenter Roeck (linux@...ck-us.net) escribió:
>
> On Sat, Apr 29, 2023 at 11:25:48AM -0300, Joaquín Ignacio Aramendía wrote:
> > Change
> >
> >   .driver_data = (void *) &(enum type) {enum_literal};
> >
> > to more readable form:
> >
> >   .driver_data = (void *) enum_literal;
> >
> > and corresponding cast usage as board type flag.
> >
> > Signed-off-by: Joaquín Ignacio Aramendía <samsagax@...il.com>
>
> Applied to hwmon-next.
>
> Thanks,
> Guenter



-- 
Joaquín I. Aramendía

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ