Re: [PATCH v4 06/15] luks2: Rename variable i to keyslot_idx in luks2_get_keyslot.

2020-11-16 Thread Daniel Kiper
On Sun, Nov 15, 2020 at 10:43:55AM +0100, Patrick Steinhardt wrote: > On Fri, Nov 06, 2020 at 10:44:26PM -0600, Glenn Washburn wrote: > > Variables named i are usually looping variables, so rename to keyslot_idx to > > allow for easier reading of luks2_get_keyslot. > > > > Signed-off-by: Glenn Wash

Re: [PATCH v4 06/15] luks2: Rename variable i to keyslot_idx in luks2_get_keyslot.

2020-11-15 Thread Patrick Steinhardt
On Fri, Nov 06, 2020 at 10:44:26PM -0600, Glenn Washburn wrote: > Variables named i are usually looping variables, so rename to keyslot_idx to > allow for easier reading of luks2_get_keyslot. > > Signed-off-by: Glenn Washburn Reviewed-by: Patrick Steinhardt > --- > grub-core/disk/luks2.c | 8

[PATCH v4 06/15] luks2: Rename variable i to keyslot_idx in luks2_get_keyslot.

2020-11-06 Thread Glenn Washburn
Variables named i are usually looping variables, so rename to keyslot_idx to allow for easier reading of luks2_get_keyslot. Signed-off-by: Glenn Washburn --- grub-core/disk/luks2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grub-core/disk/luks2.c b/grub-core/disk