attached patch has trivial spell fixes in comments in nandsim.c<br>Signed-off-by: srimugunthan  &lt;<a href="mailto:srimugunthan.dhandapani@gmail.com" target="_blank">srimugunthan.dhandapani@gmail.com</a>&gt;<br><br>------<br>

diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c<br>
index a6a73aa..697979c 100644<br>--- a/drivers/mtd/nand/nandsim.c<br>+++ b/drivers/mtd/nand/nandsim.c<br>
@@ -230,7 +230,7 @@ MODULE_PARM_DESC(bbt,         &quot;0 OOB, 1 BBT with marker in OOB, 2 BBT with marker in d<br> #define STATE_ADDR_ZERO        0x00000040 /* one byte zero address was accepted */<br> #define STATE_ADDR_MASK        0x00000070 /* address states mask */<br>



 <br>-/* Durind data input/output the simulator is in these states */<br>+/* During data input/output the simulator is in these states */<br> #define STATE_DATAIN           0x00000100 /* waiting for data input */<br> #define STATE_DATAIN_MASK      0x00000100 /* data input states mask */<br>



 <br>@@ -263,18 +263,18 @@ MODULE_PARM_DESC(bbt,         &quot;0 OOB, 1 BBT with marker in OOB, 2 BBT with marker in d<br> #define OPT_PAGE512      0x00000002 /* 512-byte  page chips */<br> #define OPT_PAGE2048     0x00000008 /* 2048-byte page chips */<br>



 #define OPT_SMARTMEDIA   0x00000010 /* SmartMedia technology chips */<br>-#define OPT_AUTOINCR     0x00000020 /* page number auto inctimentation is possible */<br>+#define OPT_AUTOINCR     0x00000020 /* page number auto incrementation is possible */<br>



 #define OPT_PAGE512_8BIT 0x00000040 /* 512-byte page chips with 8-bit bus width */<br> #define OPT_PAGE4096     0x00000080 /* 4096-byte page chips */<br> #define OPT_LARGEPAGE    (OPT_PAGE2048 | OPT_PAGE4096) /* 2048 &amp; 4096-byte page chips */<br>



 #define OPT_SMALLPAGE    (OPT_PAGE256  | OPT_PAGE512)  /* 256 and 512-byte page chips */<br> <br>-/* Remove action bits ftom state */<br>+/* Remove action bits from state */<br> #define NS_STATE(x) ((x) &amp; ~ACTION_MASK)<br>



 <br> /*<br>  * Maximum previous states which need to be saved. Currently saving is<br>- * only needed for page programm operation with preceeded read command<br>+ * only needed for page programm operation with preceded read command<br>



  * (which is only valid for 512-byte pages).<br>  */<br> #define NS_MAX_PREVSTATES 1<br>@@ -1171,9 +1171,9 @@ static inline void switch_to_ready_state(struct nandsim *ns, u_char status)<br>  * of supported operations.<br>



  *<br>  * Operation can be unknown because of the following.<br>- *   1. New command was accepted and this is the firs call to find the<br>+ *   1. New command was accepted and this is the first call to find the<br>  *      correspondent states chain. In this case ns-&gt;npstates = 0;<br>



- *   2. There is several operations which begin with the same command(s)<br>+ *   2. There are several operations which begin with the same command(s)<br>  *      (for example program from the second half and read from the<br>



  *      second half operations both begin with the READ1 command). In this<br>  *      case the ns-&gt;pstates[] array contains previous states.<br>@@ -1186,7 +1186,7 @@ static inline void switch_to_ready_state(struct nandsim *ns, u_char status)<br>



  * ns-&gt;ops, ns-&gt;state, ns-&gt;nxstate are initialized, ns-&gt;npstate is<br>  * zeroed).<br>  *<br>- * If there are several maches, the current state is pushed to the<br>+ * If there are several matches, the current state is pushed to the<br>



  * ns-&gt;pstates.<br>  *<br>  * The operation can be unknown only while commands are input to the chip.<br>@@ -1195,7 +1195,7 @@ static inline void switch_to_ready_state(struct nandsim *ns, u_char status)<br>  * operation is searched using the following pattern:<br>



  *     ns-&gt;pstates[0], ... ns-&gt;pstates[ns-&gt;npstates], &lt;address input&gt;<br>  *<br>- * It is supposed that this pattern must either match one operation on<br>+ * It is supposed that this pattern must either match one operation or<br>



  * none. There can&#39;t be ambiguity in that case.<br>  *<br>  * If no matches found, the functions does the following:<br>