[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <23127c9a.945.18b270aa249.Coremail.chenguohua@jari.cn>
Date: Fri, 13 Oct 2023 11:18:10 +0800 (GMT+08:00)
From: chenguohua@...i.cn
To: m@...s.ch
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ssb: Clean up errors in ssb_driver_gige.h
Fix the following errors reported by checkpatch:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: GuoHua Cheng <chenguohua@...i.cn>
---
include/linux/ssb/ssb_driver_gige.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/ssb/ssb_driver_gige.h b/include/linux/ssb/ssb_driver_gige.h
index 28c145a51e57..55c0bb39a410 100644
--- a/include/linux/ssb/ssb_driver_gige.h
+++ b/include/linux/ssb/ssb_driver_gige.h
@@ -55,7 +55,7 @@ struct ssb_gige {
extern bool pdev_is_ssb_gige_core(struct pci_dev *pdev);
/* Convert a pci_dev pointer to a ssb_gige pointer. */
-static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev)
+static inline struct ssb_gige *pdev_to_ssb_gige(struct pci_dev *pdev)
{
if (!pdev_is_ssb_gige_core(pdev))
return NULL;
@@ -66,7 +66,7 @@ static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev)
static inline bool ssb_gige_is_rgmii(struct pci_dev *pdev)
{
struct ssb_gige *dev = pdev_to_ssb_gige(pdev);
- return (dev ? dev->has_rgmii : 0);
+ return dev ? dev->has_rgmii : 0;
}
/* Returns whether we have a Roboswitch. */
@@ -161,7 +161,7 @@ static inline bool pdev_is_ssb_gige_core(struct pci_dev *pdev)
{
return false;
}
-static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev)
+static inline struct ssb_gige *pdev_to_ssb_gige(struct pci_dev *pdev)
{
return NULL;
}
--
2.17.1
Powered by blists - more mailing lists