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] [thread-next>] [day] [month] [year] [list]
Message-ID: <YNyq95hXKcbM4+Kk@zn.tnic>
Date:   Wed, 30 Jun 2021 19:33:43 +0200
From:   Borislav Petkov <bp@...en8.de>
To:     Yazen Ghannam <yazen.ghannam@....com>
Cc:     linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org,
        mchehab@...nel.org, tony.luck@...el.com,
        Smita.KoralahalliChannabasappa@....com
Subject: Re: [PATCH v2 09/31] EDAC/amd64: Define function to find
 interleaving mode

On Wed, Jun 23, 2021 at 07:19:40PM +0000, Yazen Ghannam wrote:
> @@ -1088,10 +1096,12 @@ struct addr_ctx {
>  	u16 nid;
>  	u8 inst_id;
>  	u8 map_num;
> +	bool hash_enabled;

For such single bits info you can use bitfields, like struct mca_config
does it, for example.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ