Re: [PATCH V3 2/2] mailbox: tmelite-qmp: Introduce TMEL QMP mailbox driver

From: Sricharan Ramabadhran
Date: Wed Mar 05 2025 - 01:13:47 EST




On 3/4/2025 3:16 PM, Dmitry Baryshkov wrote:
On Tue, 4 Mar 2025 at 10:33, Sricharan Ramabadhran
<quic_srichara@xxxxxxxxxxx> wrote:



On 3/3/2025 6:34 PM, Dmitry Baryshkov wrote:
On Mon, Mar 03, 2025 at 03:58:42PM +0530, Sricharan Ramabadhran wrote:


On 2/28/2025 12:03 PM, Dmitry Baryshkov wrote:
On Fri, Feb 28, 2025 at 10:23:56AM +0530, Sricharan R wrote:

+ dev_err(dev, "Failed with status: %d\n", msg.resp.status);
+ ret = msg.resp.status;

return msg.resp.status (is it really errno?)

ok, yes error.

The question was if it is an errno, not if it is an error.
status != 0 is an error always.

Is it an _errno_ ?
Ho ok, good catch, checked the firmware spec, does not map to a standard Linux error code. Will check and return a standard __errno__.

Regards,
Sricharan