[PATCH 0/2] misc: hpilo: fix inconsistent device numbers

From: Ian Abbott
Date: Fri Jan 19 2024 - 08:28:12 EST


There is a logical bug in the use of device numbers in the hpilo driver.
The bug does not actually occur because the maximum number of supported
iLO devices is currently fixed at 1. Therefore, it's probably not worth
fixing in the "stable" kernel series.

Patch 1 fixes the bug. Patch 2 just renames a variable for clarity.

1) misc: hpilo: fix inconsistent device numbers
2) misc: hpilo: rename device creation loop variable

drivers/misc/hpilo.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)