commit | a2730bc73542e60393e0f7d92e061c9e18c2056b | [log] [tgz] |
---|---|---|
author | Cihangir Akturk <cakturk@gmail.com> | Wed Aug 02 11:18:07 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 14 15:18:25 2017 -0700 |
tree | 2f1ac86ecf5fdce1903ef6db4d528c2ad401dbcd | |
parent | 8652892ed44914edfb488c280ccf79301fd89117 [diff] |
staging: fsl-mc: fix resource_size.cocci warnings Use resource_size() function on resource objects instead of explicit computation. This patch fixes the following coccinelle warning: drivers/staging/fsl-mc/bus/dprc-driver.c:620:35-38: ERROR: Missing resource_size with mc_dev -> regions Signed-off-by: Cihangir Akturk <cakturk@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>