|
@@ -2560,6 +2560,10 @@ static int get_args(uint32_t kernel, struct smq_invoke_ctx *ctx)
|
|
err = -EFAULT;
|
|
err = -EFAULT;
|
|
goto bail;
|
|
goto bail;
|
|
}
|
|
}
|
|
|
|
+ if (templen > DEBUG_PRINT_SIZE_LIMIT)
|
|
|
|
+ ADSPRPC_WARN(
|
|
|
|
+ "user passed non ion buffer size %zu, mend 0x%llx mstart 0x%llx, sc 0x%x handle 0x%x\n",
|
|
|
|
+ templen, mend, mstart, sc, ctx->handle);
|
|
copylen += templen;
|
|
copylen += templen;
|
|
}
|
|
}
|
|
totallen = ALIGN(totallen, BALIGN) + copylen;
|
|
totallen = ALIGN(totallen, BALIGN) + copylen;
|