Re: [PATCH net-next 2/3] eth: fbnic: hwmon: Add support for reading temperature and voltage sensors
From: Andrew Lunn
Date: Mon Jan 13 2025 - 20:20:25 EST
> @@ -50,6 +50,10 @@ struct fbnic_fw_completion {
> struct kref ref_count;
> int result;
> union {
> + struct {
> + s32 millivolts;
> + s32 millidegrees;
> + } tsene;
> } u;
> };
Why have a union which only has one member?
Andrew