deref: spelling: derefencing => dereferencing
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Jan 2013 08:28:45 +0000 (24 11:28 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Jan 2013 08:28:45 +0000 (24 11:28 +0300)
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_deref.c
validation/sm_implied.c
validation/sm_implied2.c
validation/sm_implied5.c
validation/sm_loops4.c
validation/sm_null_deref.c

index f07de06..bd93735 100644 (file)
@@ -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)",
index 6005890..7b41372 100644 (file)
@@ -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
  */
index ae0b753..8250f53 100644 (file)
@@ -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
  */
index 6ef6943..9972cee 100644 (file)
@@ -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
  */
index 308a859..1b35b21 100644 (file)
@@ -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
  */
index 2ee1437..f30a55b 100644 (file)
@@ -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)