aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-07-27 12:51:56 +0000
committerMauro Carvalho Chehab <[email protected]>2024-09-10 05:30:36 +0000
commit81ee62e8d09ee3c7107d11c8bbfd64073ab601ad (patch)
treee7ee92b1e03098a15baa0ae7248c7537b08126e0 /security/selinux/hooks.c
parentmedia: atomisp: Fix eed1_8 code assigning signed values to an unsigned variable (diff)
downloadkernel-81ee62e8d09ee3c7107d11c8bbfd64073ab601ad.tar.gz
kernel-81ee62e8d09ee3c7107d11c8bbfd64073ab601ad.zip
media: atomisp: Use clamp() in ia_css_eed1_8_vmem_encode()
Using clamp() instead of min_t(max_t()) is easier to read. It also reduces the size of the preprocessed files by ~ 193 ko. (see [1] for a discussion about it) $ ls -l ia_css_eed1_8.host*.i 4829993 27 juil. 14:36 ia_css_eed1_8.host.old.i 4636649 27 juil. 14:42 ia_css_eed1_8.host.new.i [1]: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/155aba6ab759e98f66349e6bb4f69e2410486c09.1722084704.git.christophe.jaillet@wanadoo.fr Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions