]> www.infradead.org Git - users/dwmw2/linux.git/commit
kunit: skb: use "gfp" variable instead of hardcoding GFP_KERNEL
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 4 Nov 2024 17:16:30 +0000 (20:16 +0300)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 11 Nov 2024 17:25:40 +0000 (10:25 -0700)
commitfd0a5afb5455b4561bfc6dfb0c4b2d8226f9ccfe
tree6e61cf06031973f0b6df7f63e89ff5ac14ddad07
parent2d5404caa8c7bb5c4e0435f94b28834ae5456623
kunit: skb: use "gfp" variable instead of hardcoding GFP_KERNEL

The intent here was clearly to use the gfp variable flags instead of
hardcoding GFP_KERNEL.  All the callers pass GFP_KERNEL as the gfp
flags so this doesn't affect runtime.

Fixes: b3231d353a51 ("kunit: add a convenience allocation wrapper for SKBs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
include/kunit/skbuff.h