Skip to content
Commit c6acdef1 authored by Kevin Hao's avatar Kevin Hao Committed by Bruce Ashfield
Browse files

fs: yaffs2: fix the wrong check of return value of dir_emit()



Fix the following build warning:
fs/yaffs2/yaffs_vfs.c:1788:34: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
           this_inode, this_type) < 0) {

Signed-off-by: default avatarKevin Hao <kexin.hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
parent a37fa9db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment