From 894e6f4ee9c1a1a1f72e1840d0cce1d0807cf066 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Thu, 24 Jan 2013 11:28:45 +0300 Subject: [PATCH] deref: spelling: derefencing => dereferencing Signed-off-by: Dan Carpenter --- check_deref.c | 2 +- validation/sm_implied.c | 2 +- validation/sm_implied2.c | 2 +- validation/sm_implied5.c | 2 +- validation/sm_loops4.c | 2 +- validation/sm_null_deref.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/check_deref.c b/check_deref.c index f07de06d..bd937353 100644 --- a/check_deref.c +++ b/check_deref.c @@ -78,7 +78,7 @@ static void check_dereference(struct expression *expr) return; } if (tmp->state == &uninitialized) { - sm_msg("error: potentially derefencing uninitialized '%s'.", tmp->name); + sm_msg("error: potentially dereferencing uninitialized '%s'.", tmp->name); return; } sm_msg("error: potential null dereference '%s'. (%s returns null)", diff --git a/validation/sm_implied.c b/validation/sm_implied.c index 60058901..7b413727 100644 --- a/validation/sm_implied.c +++ b/validation/sm_implied.c @@ -25,6 +25,6 @@ x: * check-command: smatch sm_implied.c * * check-output-start -sm_implied.c:20 func() error: potentially derefencing uninitialized 'aa'. +sm_implied.c:20 func() error: potentially dereferencing uninitialized 'aa'. * check-output-end */ diff --git a/validation/sm_implied2.c b/validation/sm_implied2.c index ae0b7534..8250f53c 100644 --- a/validation/sm_implied2.c +++ b/validation/sm_implied2.c @@ -36,6 +36,6 @@ void func (void) * check-command: smatch sm_implied2.c * * check-output-start -sm_implied2.c:28 func() error: potentially derefencing uninitialized 'aa'. +sm_implied2.c:28 func() error: potentially dereferencing uninitialized 'aa'. * check-output-end */ diff --git a/validation/sm_implied5.c b/validation/sm_implied5.c index 6ef69436..9972ceee 100644 --- a/validation/sm_implied5.c +++ b/validation/sm_implied5.c @@ -22,6 +22,6 @@ void func (void) * check-command: smatch sm_implied5.c * * check-output-start -sm_implied5.c:18 func() error: potentially derefencing uninitialized 'aa'. +sm_implied5.c:18 func() error: potentially dereferencing uninitialized 'aa'. * check-output-end */ diff --git a/validation/sm_loops4.c b/validation/sm_loops4.c index 308a8592..1b35b213 100644 --- a/validation/sm_loops4.c +++ b/validation/sm_loops4.c @@ -25,6 +25,6 @@ void func(void) * check-command: smatch -I.. sm_loops4.c * * check-output-start -sm_loops4.c:16 func() error: potentially derefencing uninitialized 'p'. +sm_loops4.c:16 func() error: potentially dereferencing uninitialized 'p'. * check-output-end */ diff --git a/validation/sm_null_deref.c b/validation/sm_null_deref.c index 2ee14370..f30a55b3 100644 --- a/validation/sm_null_deref.c +++ b/validation/sm_null_deref.c @@ -53,7 +53,7 @@ static void func (void) * check-command: smatch sm_null_deref.c * * check-output-start -sm_null_deref.c:18 func() error: potentially derefencing uninitialized 'aa'. +sm_null_deref.c:18 func() error: potentially dereferencing uninitialized 'aa'. sm_null_deref.c:23 func() error: we previously assumed 'a' could be null (see line 20) sm_null_deref.c:25 func() warn: variable dereferenced before check 'a' (see line 23) sm_null_deref.c:30 func() error: we previously assumed 'b' could be null (see line 25) -- 2.11.4.GIT