msm: ipa: Fix compilation error

Change the syntax of condition to fix compilation error.

Signed-off-by: Rishabh Garg <rishgarg@codeaurora.org>
This commit is contained in:
Rishabh Garg
2020-07-16 14:22:54 +05:30
bovenliggende b8079886fd
commit e6060ecc44

Bestand weergeven

@@ -2248,7 +2248,7 @@ static ssize_t ipa_debugfs_enable_disable_drop_stats(struct file *file,
ssize_t ret;
mutex_lock(&ipa3_ctx->lock);
if (sizeof(dbg_buff) < count + 1) {
if (count >= sizeof(dbg_buff)) {
ret = -EFAULT;
goto bail;
}