[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200824214132.9072-1-rikard.falkeborn@gmail.com>
Date: Mon, 24 Aug 2020 23:41:32 +0200
From: Rikard Falkeborn <rikard.falkeborn@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Joe Perches <joe@...ches.com>, linux-kernel@...r.kernel.org,
Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>,
Rikard Falkeborn <rikard.falkeborn@...il.com>
Subject: [PATCH] const_structs.checkpatch: Add phy_ops
All usages of phy_ops in include/linux uses const phy_ops * and all
instances of phy_ops in the kernel that are not const already can be
made const (patches have been posted for those separately).
Suggested-by: Joe Perches <joe@...ches.com>
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
---
See [1] for a patch series constifying the remaining non-const phy_ops.
[1] https://lore.kernel.org/lkml/20200823220025.17588-1-rikard.falkeborn@gmail.com/
scripts/const_structs.checkpatch | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index e9df9cc28a85..cd45cb3c2b04 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -39,6 +39,7 @@ nlmsvc_binding
nvkm_device_chip
of_device_id
pci_raw_ops
+phy_ops
pipe_buf_operations
platform_hibernation_ops
platform_suspend_ops
--
2.28.0
Powered by blists - more mailing lists