]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
pstore/blk: Move verify_size() macro out of function
authorKees Cook <keescook@chromium.org>
Wed, 16 Jun 2021 14:51:28 +0000 (07:51 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 16 Jun 2021 15:19:40 +0000 (08:19 -0700)
commit2a03ddbde1e1268f15de6f15b09f305a33bff4ba
treea983381e89bdbb6bf2076c3d8dab18da8a1e1826
parent6eed261f48d5a53f369c88d4296621f2d8647493
pstore/blk: Move verify_size() macro out of function

There's no good reason for the verify_size macro to live inside the
function. Move it up with the check_size() macro and fix indenting.

Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/blk.c