Re: [PATCH] UBI: power cut emulation for testing

From: Richard Weinberger
Date: Thu Mar 26 2015 - 07:10:27 EST


On Thu, Mar 26, 2015 at 9:55 AM, Richard Weinberger
<richard.weinberger@xxxxxxxxx> wrote:
> On Sun, Feb 1, 2015 at 12:10 PM, <david.oberhollenzer@xxxxxxxxxxxxx> wrote:
>> From: David Oberhollenzer <david.oberhollenzer@xxxxxxxxxxxxx>
>>
>> Emulate random power cuts by switching device to ro after a number of
>> writes to allow simple power cut testing with nand-sim.
>>
>> Maximum and minimum number of successful writes before power cut and
>> what kind of writes (EC header, VID header or none) to interrupt
>> configurable via debugfs.
>>
>> Signed-off-by: David Oberhollenzer <david.oberhollenzer@xxxxxxxxxxxxx>
>
> Applied, thanks David!

Sorry, had to drop this patch.
power_cut_counter is of type unsigned int, but you treat it as signed
integer by using negative
numbers. Please clarify and resend.

--
Thanks,
//richard
--
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/