mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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:
parent
b8079886fd
commit
e6060ecc44
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue