Re: [PATCH 03/19] libata: samsung_cf: fix handling platform_get_irq result
From: Tejun Heo
Date: Thu Sep 24 2015 - 10:53:38 EST
On Thu, Sep 24, 2015 at 04:00:11PM +0200, Andrzej Hajda wrote:
> The function can return negative value.
> The problem has been detected using proposed semantic patch
> scripts/coccinelle/tests/assign_signed_to_unsigned.cocci .
> : http://permalink.gmane.org/gmane.linux.kernel/2046107
> Signed-off-by: Andrzej Hajda <a.hajda@xxxxxxxxxxx>
> To avoid problems with too many mail recipients I have sent whole
> patchset only to LKML. Anyway patches have no dependencies.
Can we just change s3c_ide_info->irq to int instead?
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/