Skip to contentSkip to conversation

staging: hp100: Add space around operator

PATCH New Soumyajit Deb 1 participant 1 message Mar 25, 2020 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: hp100: Add space around operator

Add space around "-" operator to improve code readability and adhere to the Linux kernel coding style.
Reported by checkpatch.pl

---
 drivers/staging/hp/hp100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/hp/hp100.c +1 -1
index 31d1ee6182dd..c743eb51da38 100644
@@ -2942,7 +2942,7 @@ MODULE_DESCRIPTION("HP CASCADE Architecture Driver for 100VG-AnyLan Network Adap
 #if defined(MODULE) && defined(CONFIG_ISA)
 #define HP100_DEVICES 5
 /* Parameters set by insmod */
-static int hp100_port[HP100_DEVICES] = { 0, [1 ... (HP100_DEVICES-1)] = -1 };
+static int hp100_port[HP100_DEVICES] = { 0, [1 ... (HP100_DEVICES - 1)] = -1 };
 module_param_hw_array(hp100_port, int, ioport, NULL, 0);
 
 /* List of devices */
Signature · 1 line
2.17.1