Attention is currently required from: Nico Huber, David Hendricks, Angel Pons, Arthur Heymans.
View Change
1 comment:
Patchset:
Patch Set #1:
It seems you are burdening yourself with too much knowledge :) I generally like […]
Well, I think we both agree that the difference is miniscule, I just like to err on fixed width as the default unless reason to do otherwise (<stdint.h> is also "standard C", after all). If all we care about is that it can hold -2^31 to 2^31-1, then I think that means exactly that int32_t should be the right size, and not long.
If you're worried about 32Gbit not being enough, then I think that would make long an even worse choice, because then whether a certain flash chip works or breaks depends on what environment flashrom is running under, which is not a good situation to be in. In that case, int64_t would be the right type to use. (I don't think it's necessary to go there yet but I'm happy to compromise on that if people think otherwise.)
To view, visit change 61943. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I68a386973f79ea634f63dfcd7d95a63400e1fdee
Gerrit-Change-Number: 61943
Gerrit-PatchSet: 1
Gerrit-Owner: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: David Hendricks <david.hendricks@gmail.com>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Comment-Date: Thu, 17 Feb 2022 01:57:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nico Huber <nico.h@gmx.de>
Comment-In-Reply-To: Julius Werner <jwerner@chromium.org>
Gerrit-MessageType: comment