Re: [PATCH v3 1/3] hwmon: (pt5161l) Fix bugs in pt5161l_read_block_data()

From: Pradhan, Sanman

Date: Wed Apr 08 2026 - 13:25:02 EST


From: Sanman Pradhan <psanman@xxxxxxxxxxx>

I think in this case as well, the feedback from the AI, would be a broader
pre-existing locking question in the driver rather than something introduced
by this patch. This patch is only fixing the buffer size and unexpected
positive return in pt5161l_read_block_data().

I'd prefer to keep this fix focused, if that's ok, and look at the
debugfs/hwmon locking usage separately if needed.

Thank you.

Regards,
Sanman Pradhan