On Thu, Jul 04, 2024 at 10:20:03AM -0500, Dan Carpenter wrote: > The C standard is vague about the signedness of enums, but in this case > here, they are treated as unsigned so the error handling does not work. > Use an int type to fix this. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next Thanks! [1/1] power: supply: cros_charge-control: Fix signedness bug in charge_behaviour_store() commit: 4baf1cc54433ff7c6e5178517bc8768001416681