[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250824171543.17662-1-vivekyadav1207731111@gmail.com>
Date: Sun, 24 Aug 2025 10:15:43 -0700
From: vivekyadav1207731111@...il.com
To: daniel.lezcano@...aro.org,
rafael@...nel.org
Cc: linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
Vivek Yadav <vivekyadav1207731111@...il.com>
Subject: [PATCH] cpuidle: sysfs: fix coding style issue
From: Vivek Yadav <vivekyadav1207731111@...il.com>
Fix a checkpatch.pl error by adding space around '+='
operator.
No functional changes intended.
[checkpatch.pl output]
ERROR: spaces required around that '+='
Signed-off-by: Vivek Yadav <vivekyadav1207731111@...il.com>
---
drivers/cpuidle/sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c
index d6f5da61cb7d..cbf2e021c6ba 100644
--- a/drivers/cpuidle/sysfs.c
+++ b/drivers/cpuidle/sysfs.c
@@ -34,7 +34,7 @@ static ssize_t show_available_governors(struct device *dev,
}
out:
- i+= sprintf(&buf[i], "\n");
+ i += sprintf(&buf[i], "\n");
mutex_unlock(&cpuidle_lock);
return i;
}
---
2.25.1
Powered by blists - more mailing lists