summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-07-14 11:13:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-21 12:49:51 +0200
commit935256192996de6317e3afe5dc1b2f8d9c210afd (patch)
tree392d4950a8d60924e49825c6ca1c58535ff1c76c /arch/mips/tools
parent5d4317abd2223eea5884f7e28d1047d5e87d4a6f (diff)
downloadlinux-935256192996de6317e3afe5dc1b2f8d9c210afd.tar.bz2
amiserial: expand serial_isroot
Having a macro (serial_isroot) for capable(CAP_SYS_ADMIN) does not save us from anything. It rather obfuscates the code. Hence expand serial_isroot to be explicit like every other driver is. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210714091314.8292-7-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/tools')
0 files changed, 0 insertions, 0 deletions