temp_channel_desc
hwmon->temp_channel_desc[channel].sensor_index);
*str = (const char *)hwmon->temp_channel_desc[channel].sensor_name;
err = mlx5_hwmon_query_mtmp(hwmon->mdev, hwmon->temp_channel_desc[i].sensor_index,
snprintf(hwmon->temp_channel_desc[i].sensor_name,
sizeof(hwmon->temp_channel_desc[i].sensor_name), "sensor%u",
hwmon->temp_channel_desc[i].sensor_index);
memcpy(&hwmon->temp_channel_desc[i].sensor_name, sensor_name,
hwmon->temp_channel_desc[i].sensor_index = bit_pos;
&hwmon->temp_channel_desc[i].sensor_index);
kfree(hwmon->temp_channel_desc);
hwmon->temp_channel_desc = kzalloc_objs(*hwmon->temp_channel_desc,
if (!hwmon->temp_channel_desc) {
kfree(hwmon->temp_channel_desc);
hwmon->temp_channel_desc[i].sensor_index);
struct temp_channel_desc *temp_channel_desc;
return hwmon->temp_channel_desc[channel].sensor_name;
err = mlx5_hwmon_query_mtmp(hwmon->mdev, hwmon->temp_channel_desc[channel].sensor_index,