diff options
author | Atul Kumar Pant <atulpant.linux@gmail.com> | 2023-08-15 22:45:53 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-08-16 00:09:20 +0200 |
commit | 62acadda115a94bffd1f6b36acbb67e3f04811be (patch) | |
tree | b4c8b2a7aceab73185dbf7add17f1a9a71a29a40 /kernel/acct.c | |
parent | audit: fix possible soft lockup in __audit_inode_child() (diff) | |
download | linux-62acadda115a94bffd1f6b36acbb67e3f04811be.tar.xz linux-62acadda115a94bffd1f6b36acbb67e3f04811be.zip |
audit: add space before parenthesis and around '=', "==", and '<'
Fixes following checkpatch.pl issue:
ERROR: space required before the open parenthesis '('
ERROR: spaces required around that '='
ERROR: spaces required around that '<'
ERROR: spaces required around that '=='
Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com>
[PM: subject line tweaks]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/acct.c')
-rw-r--r-- | kernel/acct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c index 010667ce6080..c95a9359f209 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -470,7 +470,7 @@ static void fill_ac(acct_t *ac) do_div(elapsed, AHZ); btime = ktime_get_real_seconds() - elapsed; ac->ac_btime = clamp_t(time64_t, btime, 0, U32_MAX); -#if ACCT_VERSION==2 +#if ACCT_VERSION == 2 ac->ac_ahz = AHZ; #endif |