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:
@@ -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;
|
||||
}
|
||||
|
Verwijs in nieuw issue
Block a user