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: <ynz2lum5mbka3p4ouwmgrkmk2mk5k7z7qtaatfkigiajcldnys@d357bzhfaocx>
Date: Wed, 3 Jul 2024 08:44:43 +0200
From: Maciej Wieczor-Retman <maciej.wieczor-retman@...el.com>
To: "Luck, Tony" <tony.luck@...el.com>
CC: "Chatre, Reinette" <reinette.chatre@...el.com>, "shuah@...nel.org"
	<shuah@...nel.org>, "Yu, Fenghua" <fenghua.yu@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"linux-kselftest@...r.kernel.org" <linux-kselftest@...r.kernel.org>,
	"ilpo.jarvinen@...ux.intel.com" <ilpo.jarvinen@...ux.intel.com>
Subject: Re: [PATCH v3 2/2] selftests/resctrl: Adjust SNC support messages

On 2024-07-03 at 00:03:58 +0200, Luck, Tony wrote:
>>> So fgets( ...) followed with "if (offline_cpus_str[0] == '\n') "?
>>
>> How about simplifying it more to "if (fgetc(fp) == '\n')" ?
>
>Reinette,
>
>Even better.
>
>-Tony

Thanks, I'll try using this instead of fscanf.

-- 
Kind regards
Maciej Wieczór-Retman

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ