Skip to contentSkip to conversation

usb: typec: ucsi: ucsi_glink: Remove unneeded semicolon

PATCH In review [email protected] 2 participants 2 messages Jun 27, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: typec: ucsi: ucsi_glink: Remove unneeded semicolon

./drivers/usb/typec/ucsi/ucsi_glink.c:258:2-3: Unneeded semicolon

---
 drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi_glink.c +1 -1
index 1fe9cb5b6bd9..9b9685199d1a 100644
@@ -255,7 +255,7 @@ static void pmic_glink_ucsi_callback(const void *data, size_t len, void *priv)
 	case UC_UCSI_USBC_NOTIFY_IND:
 		schedule_work(&ucsi->notify_work);
 		break;
-	};
+	}
 }
 
 static void pmic_glink_ucsi_pdr_notify(void *priv, int state)
Signature · 1 line
2.40.1
maintainer
#1 lore raw
Quoted 21 lines · On Tue, Jun 27, 2023 at 04:24:59PM +0800, [email protected] wrote:

./drivers/usb/typec/ucsi/ucsi_glink.c:258:2-3: Unneeded semicolon

---
 drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi_glink.c +1 -1
index 1fe9cb5b6bd9..9b9685199d1a 100644
@@ -255,7 +255,7 @@ static void pmic_glink_ucsi_callback(const void *data,
 size_t len, void *priv)
 	case UC_UCSI_USBC_NOTIFY_IND:
 		schedule_work(&ucsi->notify_work);
 		break;
-	};
+	}
 }
 
Quoted 4 lines

static void pmic_glink_ucsi_pdr_notify(void *priv, int state)

Signature · 1 line
2.40.1

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.

You are receiving this message because of the following common error(s) as indicated below:

- It looks like the From: line did not match the Signed-off-by: line. Please read the kernel file, Documentation/process/submitting-patches.rst for how to do this correctly.

If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.

thanks,

greg k-h's patch email bot