[PATCH 1/2] mtd: s3c2410: Change return type of s3c2410_nand_add_partition function
Artem Bityutskiy
dedekind1 at gmail.com
Fri Nov 16 03:48:12 EST 2012
On Thu, 2012-11-08 at 15:38 +0530, Sachin Kamat wrote:
> The return value of s3c2410_nand_add_partition() is not checked for error
> or success in the calling function. Hence change the return type to void.
>
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
This means you should fix the calling function instead hiding errors.
--
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/20121116/b4263b5c/attachment.sig>
More information about the linux-mtd
mailing list