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

Message ID 20240119132032.106053-1-abbotti@mev.co.uk
Headers
Series misc: hpilo: fix inconsistent device numbers |

Message

Ian Abbott Jan. 19, 2024, 1:20 p.m. UTC
  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(-)