diff options
| author | ChenXiaoSong <chenxiaosong@kylinos.cn> | 2025-12-08 10:59:25 +0800 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-12-09 21:22:34 -0600 |
| commit | a71a4aab4834b366fa6e2b2f3c015f24e4366da4 (patch) | |
| tree | 9b796b502b3cd4d7e6b14046bcd8d482b37d7b5e /tools/lib/python/feat/parse_features.py | |
| parent | bcdd6cfaf2ec17016f9765b01a02b66f13087aa1 (diff) | |
smb/client: add parentheses to NT error code definitions containing bitwise OR operator
Use the following shell commands:
# Add "("
sed -i '/|/s/ 0x/ (0x/' fs/smb/client/nterr.h
# Add ")" if line does not end with a comment
sed -i '/|/ { /.*\*\/$/! s/$/)/ }' fs/smb/client/nterr.h
# Add ")" if line end with a comment
sed -i '/|/ s/[[:space:]]*\/\*/)&/' fs/smb/client/nterr.h
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions
