]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm/xen: Adjust one function call together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 4 Jun 2017 19:21:20 +0000 (21:21 +0200)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 5 Jun 2017 17:38:24 +0000 (10:38 -0700)
commit84a0a967a44b9da6c5effff628aafa7698050574
tree7120dca69d6e0fc0072815dd56c0c49dc6abadc8
parentd6bb4ec32c832fb0fcc43636327e17a0724e2324
arm/xen: Adjust one function call together with a variable assignment

The script "checkpatch.pl" pointed information out like the following.

ERROR: do not use assignment in if condition

Thus fix the affected source code place.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/xen/p2m.c