Thread (3 messages) 3 messages, 3 authors, 2016-03-01
STALE3771d

[PATCH] iommu/mtk: fix handling of of_count_phandle_with_args result

From: joro@8bytes.org (Joerg Roedel)
Date: 2016-03-01 11:34:47
Also in: linux-iommu, linux-mediatek

On Tue, Mar 01, 2016 at 10:36:23AM +0100, Andrzej Hajda wrote:
The function can return negative value so it should be assigned to signed
variable. The patch changes also type of related i variable to make code
more compact and coherent.

The problem has been detected using patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci.

Signed-off-by: Andrzej Hajda <redacted>
---
 drivers/iommu/mtk_iommu.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help