Skip to contentSkip to conversation

ssb: Clean up errors in ssb.h

PATCH In review [email protected] 2 participants 2 messages Oct 13, 2023 – Oct 19, 2023 Sonics silicon backplane driver (ssb)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ssb: Clean up errors in ssb.h

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

---
 include/linux/ssb/ssb.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/ssb/ssb.h +3 -3
index 1f326da289d3..b6a674719a27 100644
@@ -285,7 +285,7 @@ struct ssb_device {
 
 /* Go from struct device to struct ssb_device. */
 static inline
-struct ssb_device * dev_to_ssb_dev(const struct device *dev)
+struct ssb_device *dev_to_ssb_dev(const struct device *dev)
 {
 	struct __ssb_dev_wrapper *wrap;
 	wrap = container_of(dev, struct __ssb_dev_wrapper, dev);
@@ -299,7 +299,7 @@ void ssb_set_drvdata(struct ssb_device *dev, void *data)
 	dev->drvdata = data;
 }
 static inline
-void * ssb_get_drvdata(struct ssb_device *dev)
+void *ssb_get_drvdata(struct ssb_device *dev)
 {
 	return dev->drvdata;
 }
@@ -307,7 +307,7 @@ void * ssb_get_drvdata(struct ssb_device *dev)
 /* Devicetype specific user data. This is per device-type (not per device) */
 void ssb_set_devtypedata(struct ssb_device *dev, void *data);
 static inline
-void * ssb_get_devtypedata(struct ssb_device *dev)
+void *ssb_get_devtypedata(struct ssb_device *dev)
 {
 	return dev->devtypedata;
 }
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · [email protected] wrote:

Fix the following errors reported by checkpatch:

ERROR: "foo * bar" should be "foo *bar"

We prefer not to take checkpatch fixes unless explicitly requested by the maintainers.

Patch set to Rejected.

Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches