Re: [PATCH v2] regmap-i2c: fix sparse warning in regmap_smbus_word_write_reg16
From: Mark Brown
Date: Wed May 20 2026 - 05:32:10 EST
On Tue, May 19, 2026 at 03:05:57PM -0700, Nishanth Sampath Kumar wrote:
> i2c_smbus_write_word_data() expects a plain u16, but cpu_to_le16()
> returns __le16 (a sparse-restricted endian type), causing:
Please don't send new patches in reply to old patches or serieses, this
makes it harder for both people and tools to understand what is going
on - it can bury things in mailboxes and make it difficult to keep track
of what current patches are, both for the new patches and the old ones.
Attachment:
signature.asc
Description: PGP signature