diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2016-03-01 10:36:23 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-03-01 12:33:46 +0100 |
commit | 0b6c0ad3cfe6bc914af3ae595c9729e38f11a024 (patch) | |
tree | 5d2bed1e9d0fbe7d0c74140d70cd00c5f365ee54 /MAINTAINERS | |
parent | iommu/mediatek: Mark PM functions as __maybe_unused (diff) | |
download | linux-0b6c0ad3cfe6bc914af3ae595c9729e38f11a024.tar.xz linux-0b6c0ad3cfe6bc914af3ae595c9729e38f11a024.zip |
iommu/mediatek: Fix handling of of_count_phandle_with_args result
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 <a.hajda@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions