Re: [PATCH] Fix typos in doc and comments (2)

From: Jan Engelhardt
Date: Mon Oct 16 2006 - 19:05:32 EST



>Changes persistant -> persistent. www.dictionary.com does not know
>persistant (with an A), but should it be one of those things you can
>spell in more than one correct way, let me know.

Changes persistant -> persistent in actual C code. (part 1 changed
docs/comments).

Compile-tested.


Signed-off-by: Jan Engelhardt <jengelh@xxxxxx>

Index: linux-2.6.19-rc2/drivers/isdn/hisax/isdnl2.c
===================================================================
--- linux-2.6.19-rc2.orig/drivers/isdn/hisax/isdnl2.c
+++ linux-2.6.19-rc2/drivers/isdn/hisax/isdnl2.c
@@ -1442,7 +1442,7 @@ l2_tei_remove(struct FsmInst *fi, int ev
}

static void
-l2_st14_persistant_da(struct FsmInst *fi, int event, void *arg)
+l2_st14_persistent_da(struct FsmInst *fi, int event, void *arg)
{
struct PStack *st = fi->userdata;

@@ -1453,7 +1453,7 @@ l2_st14_persistant_da(struct FsmInst *fi
}

static void
-l2_st5_persistant_da(struct FsmInst *fi, int event, void *arg)
+l2_st5_persistent_da(struct FsmInst *fi, int event, void *arg)
{
struct PStack *st = fi->userdata;

@@ -1466,7 +1466,7 @@ l2_st5_persistant_da(struct FsmInst *fi,
}

static void
-l2_st6_persistant_da(struct FsmInst *fi, int event, void *arg)
+l2_st6_persistent_da(struct FsmInst *fi, int event, void *arg)
{
struct PStack *st = fi->userdata;

@@ -1477,7 +1477,7 @@ l2_st6_persistant_da(struct FsmInst *fi,
}

static void
-l2_persistant_da(struct FsmInst *fi, int event, void *arg)
+l2_persistent_da(struct FsmInst *fi, int event, void *arg)
{
struct PStack *st = fi->userdata;

@@ -1612,14 +1612,14 @@ static struct FsmNode L2FnList[] __initd
{ST_L2_6, EV_L2_FRAME_ERROR, l2_frame_error},
{ST_L2_7, EV_L2_FRAME_ERROR, l2_frame_error_reest},
{ST_L2_8, EV_L2_FRAME_ERROR, l2_frame_error_reest},
- {ST_L2_1, EV_L1_DEACTIVATE, l2_st14_persistant_da},
+ {ST_L2_1, EV_L1_DEACTIVATE, l2_st14_persistent_da},
{ST_L2_2, EV_L1_DEACTIVATE, l2_st24_tei_remove},
{ST_L2_3, EV_L1_DEACTIVATE, l2_st3_tei_remove},
- {ST_L2_4, EV_L1_DEACTIVATE, l2_st14_persistant_da},
- {ST_L2_5, EV_L1_DEACTIVATE, l2_st5_persistant_da},
- {ST_L2_6, EV_L1_DEACTIVATE, l2_st6_persistant_da},
- {ST_L2_7, EV_L1_DEACTIVATE, l2_persistant_da},
- {ST_L2_8, EV_L1_DEACTIVATE, l2_persistant_da},
+ {ST_L2_4, EV_L1_DEACTIVATE, l2_st14_persistent_da},
+ {ST_L2_5, EV_L1_DEACTIVATE, l2_st5_persistent_da},
+ {ST_L2_6, EV_L1_DEACTIVATE, l2_st6_persistent_da},
+ {ST_L2_7, EV_L1_DEACTIVATE, l2_persistent_da},
+ {ST_L2_8, EV_L1_DEACTIVATE, l2_persistent_da},
};

#define L2_FN_COUNT (sizeof(L2FnList)/sizeof(struct FsmNode))
#<EOF>


-`J'
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/