Loading drivers/char/adsprpc.c +4 −2 Original line number Diff line number Diff line Loading @@ -1136,9 +1136,11 @@ static int fastrpc_buf_alloc(struct fastrpc_file *fl, size_t size, struct fastrpc_buf *buf = NULL, *fr = NULL; struct hlist_node *n; VERIFY(err, size > 0); if (err) VERIFY(err, size > 0 && fl->sctx->smmu.dev); if (err) { err = (fl->sctx->smmu.dev == NULL) ? -ENODEV : err; goto bail; } if (!remote) { /* find the smallest buffer that fits in the cache */ Loading Loading
drivers/char/adsprpc.c +4 −2 Original line number Diff line number Diff line Loading @@ -1136,9 +1136,11 @@ static int fastrpc_buf_alloc(struct fastrpc_file *fl, size_t size, struct fastrpc_buf *buf = NULL, *fr = NULL; struct hlist_node *n; VERIFY(err, size > 0); if (err) VERIFY(err, size > 0 && fl->sctx->smmu.dev); if (err) { err = (fl->sctx->smmu.dev == NULL) ? -ENODEV : err; goto bail; } if (!remote) { /* find the smallest buffer that fits in the cache */ Loading