Skip to contentSkip to conversation

replace use of term 'Sanity check'

PATCH Applied Stephen Hemminger 2 participants 2 messages Sep 12, 2024 – Sep 13, 2024

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

PATCH 1/1 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/

---
 misc/arpd.c | 3 +--
 tipc/node.c | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
misc/arpd.c +1 -2
index 3185620f..e77ef539 100644
@@ -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)) ||
tipc/node.c +1 -1
index e645d374..b84a3fa1 100644
@@ -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;
Signature · 1 line
2.45.2
#1 lore raw
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 8 lines · On Thu, 12 Sep 2024 10:14:20 -0700 you wrote:

The term "sanity check" is on the Tier2 word list (should replace). See https://inclusivenaming.org/word-lists/tier-2/sanity-check/

---
 misc/arpd.c | 3 +--
 tipc/node.c | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

Here is the summary with links:
- [iproute] replace use of term 'Sanity check'

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=058e82cb2f48

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html