diff options
author | Wang Qing <wangqing@vivo.com> | 2021-12-14 04:18:36 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-05 12:30:27 +0100 |
commit | e9056226a8f27eea059df2de1714c6a28aaeb208 (patch) | |
tree | 1e89d7f1e5e901e44d78e166e1005ba2b48ce1d8 /security/selinux/hooks.c | |
parent | 76d42990efb4902de293be254f5e93c693058c8f (diff) |
platform/x86: apple-gmux: use resource_size() with res
[ Upstream commit eb66fb03a727cde0ab9b1a3858de55c26f3007da ]
This should be (res->end - res->start + 1) here actually,
use resource_size() derectly.
Signed-off-by: Wang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1639484316-75873-1-git-send-email-wangqing@vivo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions