commit | eecf4f9dd940fc90b38693ec6cde9badf0bea56a | [log] [tgz] |
---|---|---|
author | Vasyl Gomonovych <gomonovych@gmail.com> | Tue Nov 28 16:20:43 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Dec 07 18:45:31 2017 +0100 |
tree | 15265c0fafff4e7a316d4af42e2db38f8439544d | |
parent | baa8b941cb52cd85df8b86b4cf8be5606606f5d9 [diff] |
misc: vexpress: Use PTR_ERR_OR_ZERO() Fix ptr_ret.cocci warnings: drivers/misc/vexpress-syscfg.c:273:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>