[PATCH v2] MTD: modify mtd api to return bitflip info on read operations

Artem Bityutskiy dedekind1 at gmail.com
Sun Dec 4 09:33:46 EST 2011


On Sat, 2011-12-03 at 12:20 -0800, Mike Dunn wrote:
> +                       bitflips = max_t(unsigned int, bitflips,
> +                                        (unsigned)nb_errors); 

You do not  need the (unsigned) cast because you use max_t().

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111204/ff8eb61e/attachment.sig>


More information about the linux-mtd mailing list