Skip to content

Fix smatch warnings#38

Merged
namjaejeon merged 3 commits intonamjaejeon:ntfs-nextfrom
hclee:fix-smatch-warnings
Mar 14, 2026
Merged

Fix smatch warnings#38
namjaejeon merged 3 commits intonamjaejeon:ntfs-nextfrom
hclee:fix-smatch-warnings

Conversation

@hclee
Copy link
Copy Markdown
Contributor

@hclee hclee commented Mar 13, 2026

No description provided.

hclee added 3 commits March 13, 2026 10:50
Detected by Smatch.

lcnalloc.c:736 ntfs_cluster_alloc() error:
  we previously assumed 'rl' could be null (see line 719)

inode.c:3275 ntfs_inode_close() warn:
  variable dereferenced before check 'tmp_nis' (see line 3255)

attrib.c:4952 ntfs_attr_remove() warn:
  variable dereferenced before check 'ni' (see line 4951)

dir.c:1035 ntfs_readdir() error:
  we previously assumed 'private' could be null (see line 850)

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Detected by Smatch.

ndex.c:2041 ntfs_index_walk_up() warn:
  inconsistent indenting

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Detected by Smatch.

inode.c:1796 load_attribute_list_mount() warn:
  ignoring unreachable code.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
@namjaejeon namjaejeon merged commit ab99385 into namjaejeon:ntfs-next Mar 14, 2026
1 check passed
@namjaejeon
Copy link
Copy Markdown
Owner

@hclee Please make your patches for mainline.

@hclee
Copy link
Copy Markdown
Contributor Author

hclee commented Mar 16, 2026

@namjaejeon Okay

@namjaejeon
Copy link
Copy Markdown
Owner

@hclee Please send them to my private mail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants