fs/ntfs3: Fixed the error of uninitialized value
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I72XT8 CVE: NA Reference: N/A --------------------------------------- Smatch reports: fs/ntfs3/attrib.c:1338 attr_wof_frame_info() error: uninitialized symbol 'err'. It is because that in "attr_wof_frame_info", an uninitialized value would be returned, which may affect the stability of the system. The solution is to initialize the variable "err" to zero. Signed-off-by:Liu Yueyue <u202012053@hust.edu.cn>
Loading
Please sign in to comment