Skip to contentSkip to conversation

power_suuupy: change brace's place

PATCH In review fuyao 2 participants 2 messages Dec 29, 2018 – Jan 21, 2019 Power supply

lore
Share & tools
lore

fuyao

author
#0 lore raw

PATCH 1/1 power_suuupy: change brace's place

---
 drivers/power/supply/power_supply_sysfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/power/supply/power_supply_sysfs.c +2 -1
index 5204f115970f..be1577e96c59 100644
@@ -75,7 +75,8 @@ static const char * const power_supply_scope_text[] = {
 
 static ssize_t power_supply_show_property(struct device *dev,
 					  struct device_attribute *attr,
-					  char *buf) {
+					  char *buf)
+{
 	ssize_t ret = 0;
 	struct power_supply *psy = dev_get_drvdata(dev);
 	const ptrdiff_t off = attr - power_supply_attrs;
Signature · 1 line
2.19.1
#1 lore raw

Hi fuyao,

Sorry, but your patch does not follow kernel patch submission rules. All patches should have a long description, that describes _why_ the patch is required. Also it needs a Signed-off-by line submitted with your full realname. Last but not least there is a typo in the subject and the patch is not send to the right mailinglist. Please resubmit after reading the files in Documentation/process.

Thanks for your patch,

-- Sebastian

Quoted 21 lines · fuyao
---
 drivers/power/supply/power_supply_sysfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/power/supply/power_supply_sysfs.c +2 -1
index 5204f115970f..be1577e96c59 100644
@@ -75,7 +75,8 @@ static const char * const power_supply_scope_text[] = {
 
 static ssize_t power_supply_show_property(struct device *dev,
 					  struct device_attribute *attr,
-					  char *buf) {
+					  char *buf)
+{
 	ssize_t ret = 0;
 	struct power_supply *psy = dev_get_drvdata(dev);
 	const ptrdiff_t off = attr - power_supply_attrs;
Signature · 1 line
2.19.1