]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: constify skb_propagate_pfmemalloc() "page" argument
authorAlexander Lobakin <alobakin@pm.me>
Tue, 2 Feb 2021 13:31:05 +0000 (13:31 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Feb 2021 02:20:13 +0000 (18:20 -0800)
commitaf03474df034f6f93e310493c104f08ec5acdf66
tree0f6454b24a2f60b7b8ac9ceffb72e42c6a8ea83d
parent839ef77c6df6c570bc6953b04ad3d2c8c628f324
skbuff: constify skb_propagate_pfmemalloc() "page" argument

The function doesn't write anything to the page struct itself,
so this argument can be const.

Misc: align second argument to the brace while at it.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/skbuff.h