[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240912171446.12854-1-stephen@networkplumber.org>
Date: Thu, 12 Sep 2024 10:14:20 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: netdev@...r.kernel.org
Cc: Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute] replace use of term 'Sanity check'
The term "sanity check" is on the Tier2 word list (should replace).
See https://inclusivenaming.org/word-lists/tier-2/sanity-check/
Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
---
misc/arpd.c | 3 +--
tipc/node.c | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/misc/arpd.c b/misc/arpd.c
index 3185620f..e77ef539 100644
--- a/misc/arpd.c
+++ b/misc/arpd.c
@@ -494,8 +494,7 @@ static void get_arp_pkt(void)
if (ifnum && !handle_if(sll.sll_ifindex))
return;
- /* Sanity checks */
-
+ /* Validate packet */
if (n < sizeof(*a) ||
(a->ar_op != htons(ARPOP_REQUEST) &&
a->ar_op != htons(ARPOP_REPLY)) ||
diff --git a/tipc/node.c b/tipc/node.c
index e645d374..b84a3fa1 100644
--- a/tipc/node.c
+++ b/tipc/node.c
@@ -252,7 +252,7 @@ get_ops:
/* Get master key indication */
opt_master = get_opt(opts, "master");
- /* Sanity check if wrong option */
+ /* Validate node key */
if (opt_nodeid && opt_master) {
fprintf(stderr, "error, per-node key cannot be master\n");
return -EINVAL;
--
2.45.2
Powered by blists - more mailing lists