mtd: fsmc: fixed data abort inside change_bit()
authorArmando Visconti <armando.visconti@st.com>
Wed, 7 Mar 2012 11:30:53 +0000 (17:00 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:47:55 +0000 (00:47 +0100)
commita612c2ae483ee7e4d40c31d5374edf8a8b025f2a
tree5195be5a4d5e25eb13b01c0ad33b803336a2ffa9
parent02bfc4ebbd2532440fadd78076f3a51e0ae89f7f
mtd: fsmc: fixed data abort inside change_bit()

Since change_bit() requires a (unsigned int *) as second arg,
the correct definition of err_idx[] array declared as
local variable of fsmc_correct_data() is the following:

u32 err_idx[8];

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/fsmc_nand.c