- Fix Kconfig typo "acces" -> "access" (Colin Ian King)

- Use dev_error_probe() to simplify the error handling on imx and imx8
  platforms (Anson Huang)

- Use dedicated kobj_to_dev() instead of container_of() in the sysfs
  core code (Tian Tao)

- Fix coding style by adding braces to a one line conditional
  statement on rcar (Geert Uytterhoeven)

- Add DT binding documentation for the r8a774e1 platform and update
  the Kconfig description supporting RZ/G2 SoCs (Lad Prabhakar)

- Simplify the return expression of stm_thermal_prepare on the stm32
  platform (Qinglang Miao)

- Fix the unit in the function documentation for the idle injection
  cooling device (Zhuguang Qing)

- Remove an unecessary mutex_init() in the core code (Qinglang Miao)

- Add support for keep alive events in the core code and the specific
  int340x (Srinivas Pandruvada)

- Remove unused thermal zone variable in devfreq and cpufreq cooling
  devices (Zhuguang Qing)

- Add the A100's THS controller support (Yangtao Li)

- Add power management on the omap3's bandgap sensor (Adam Ford)

- Fix a missing nlmsg_free in the netlink core error path (Jing Xiangfeng)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEGn3N4YVz0WNVyHskqDIjiipP6E8FAl+GwbYACgkQqDIjiipP
6E8IFAf/UnO1HqfK96FnVJXx5ClXFE8PQhdVejxBEsNCJqUOwlqfpyONy7mgwABb
EuOvp5ZLX6ly9xG6J4NJhE4gN4DxqRKe0S3bQMU+DX8TQHc3otDKHILJbHrJdOY+
BYZpGxuCjU9yZrsJopztZIcpG7cF78d39XCJVSrBhoOBqPLXNGZkUUzOv9+QQti3
ipdhqB3kUzkgDFgIrDxX8t0vybQZSbiRWNUGrw/WQjMsG0NGIarCUHW4wiaea6gU
L2x1QDR5h9hxEAJiTBarOtF7ZlE15fpria0mWfTgmNMArMEtRBL60kBnmYa4o3EG
CseR7x1MdTCSqLCzKGfQyKv5SFgnVg==
=P6zv
-----END PGP SIGNATURE-----
thermal: core: Adding missing nlmsg_free() in thermal_genl_sampling_temp()

thermal_genl_sampling_temp() misses to call nlmsg_free() in an error path.

Jump to out_free to fix it.

Fixes: 1ce50e7d408ef2 ("thermal: core: genetlink support for events/cmd/sampling")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200929082652.59876-1-jingxiangfeng@huawei.com
1 file changed