[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176818296410.643060.3254298529254404514.b4-ty@collabora.com>
Date: Mon, 12 Jan 2026 02:56:04 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: sre@...nel.org, Haotian Zhang <vulab@...as.ac.cn>
Cc: matt@...ostay.sg, pali@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: bq27xxx: fix wrong errno when bus ops
are unsupported
On Thu, 04 Dec 2025 16:34:36 +0800, Haotian Zhang wrote:
> bq27xxx_write(), bq27xxx_read_block(), and bq27xxx_write_block()
> return -EPERM when the bus callback pointer is NULL. A NULL callback
> indicates the operation is not supported by the bus/driver,
> not that permission is denied.
>
> Return -EOPNOTSUPP instead of -EPERM when di->bus.write/
> read_bulk/write_bulk is NULL.
>
> [...]
Applied, thanks!
[1/1] power: supply: bq27xxx: fix wrong errno when bus ops are unsupported
commit: 688364a11647dc09ba1e4429313e0008066ec790
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists