These patches enhance kernel style usage, and make use of theresource_size() function instead of explicit computation.The semantic patch at scripts/coccinelle/api/resource_size.cocci wasused to detect and edit this situation.