summaryrefslogtreecommitdiff
path: root/arch/mips/net
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2020-01-01 20:49:48 +0300
committerPaul Burton <paulburton@kernel.org>2020-01-10 22:31:16 +0300
commitecb983790fe893e73e6d29bcb6d8df71e593a550 (patch)
tree13e838e52f911e0b14ee7360cbad1169c29d6a9a /arch/mips/net
parent0ce5ebd24d25f02c73940f047b12733d84b125e8 (diff)
downloadlinux-ecb983790fe893e73e6d29bcb6d8df71e593a550.tar.xz
MIPS: use resource_size
Use resource_size rather than a verbose computation on the end and start fields. The semantic patch that makes these changes is as follows: (http://coccinelle.lip6.fr/) <smpl> @@ struct resource ptr; @@ - (ptr.end - ptr.start + 1) + resource_size(&ptr) </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: kernel-janitors@vger.kernel.org Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/net')
0 files changed, 0 insertions, 0 deletions