Re: [PATCH] tools/spi: Return failure from spidev_fdx on I/O errors

From: Mark Brown

Date: Fri Nov 20 2026 - 07:00:29 EST


On Fri, Nov 20, 2026 at 02:19:22PM +0800, Zhu Jun wrote:
> spidev_fdx logs failed ioctls and failed or short reads, but always
> exits successfully once the device opens. Return an error from the
> helpers and translate it to a failing exit status after closing the
> file descriptor.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.

Attachment: signature.asc
Description: PGP signature