92fcde65f49f56586fe72c6468a47cfe6a0044a8 Issues on files: fs/notify/inotify/inotify_fsnotify.c fs/notify/inotify/inotify_user.c . fs/notify/inotify/inotify_fsnotify.c | 2 +- fs/notify/inotify/inotify_user.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c index 2cd900c..d702a5b 100644 --- a/fs/notify/inotify/inotify_fsnotify.c +++ b/fs/notify/inotify/inotify_fsnotify.c @@ -87,7 +87,7 @@ int inotify_handle_event(struct fsnotify_group *group, } if (file_name) { len = strlen(file_name); - alloc_len += len + 1; + alloc_len += (len + 1); } pr_debug("%s: group=%p inode=%p mask=%x\n", __func__, group, inode, diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c index b8d08d0..b9374d2 100644 --- a/fs/notify/inotify/inotify_user.c +++ b/fs/notify/inotify/inotify_user.c @@ -267,7 +267,7 @@ static ssize_t inotify_read(struct file *file, char __user *buf, } remove_wait_queue(&group->notification_waitq, &wait); - if (start != buf && ret != -EFAULT) + if ((start != buf) && (ret != -EFAULT)) ret = buf - start; return ret; } -- 2.7.4