diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-09-02 13:23:52 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-09-02 17:58:00 +0900 |
| commit | 636abbe7a66d80e179011a31754d55001cd44f63 (patch) | |
| tree | cb0f1c0eebdb4058c54219d928faf2c9e278f13e /fs | |
| parent | 89a312991dc6e638a36adc43ccb91dbc25504c04 (diff) | |
| download | linux-next-636abbe7a66d80e179011a31754d55001cd44f63.tar.gz linux-next-636abbe7a66d80e179011a31754d55001cd44f63.zip | |
ksmbd: fix sparc build with atomic work state
Use an unsigned int for the work state so xchg() uses a supported
4-byte operation on sparc.
Fixes: d12168084c8c ("ksmbd: safely drain sessions during logoff")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609021157.8f7Wx34I-lkp@intel.com/
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/smb/server/ksmbd_work.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/server/ksmbd_work.h b/fs/smb/server/ksmbd_work.h index 5f1d3ebab4fb..0844aa929f55 100644 --- a/fs/smb/server/ksmbd_work.h +++ b/fs/smb/server/ksmbd_work.h @@ -82,7 +82,7 @@ struct ksmbd_work { /* Contiguous SMB2 compression transform owned by this work item. */ void *compress_buf; - unsigned char state; + unsigned int state; /* No response for cancelled request */ bool send_no_response:1; /* Request is encrypted */ |
