[PATCH v2] thermal: sysfs: remove space before tab in macro

Mayur Kumar posted 1 patch 1 month ago
drivers/thermal/thermal_sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v2] thermal: sysfs: remove space before tab in macro
Posted by Mayur Kumar 1 month ago
Signed-off-by: Mayur Kumar <kmayur809@gmail.com>
---
 drivers/thermal/thermal_sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/thermal_sysfs.c b/drivers/thermal/thermal_sysfs.c
index 5eecae13f07..15f269358e0 100644
--- a/drivers/thermal/thermal_sysfs.c
+++ b/drivers/thermal/thermal_sysfs.c
@@ -82,7 +82,7 @@ mode_store(struct device *dev, struct device_attribute *attr,
 }
 
 #define thermal_trip_of_attr(_ptr_, _attr_)				\
-	({ 								\
+	({\
 		struct thermal_trip_desc *td;				\
 									\
 		td = container_of(_ptr_, struct thermal_trip_desc,	\
-- 
2.34.1
Re: [PATCH v2] thermal: sysfs: remove space before tab in macro
Posted by Rafael J. Wysocki 3 weeks ago
On Mon, May 11, 2026 at 7:53 PM Mayur Kumar <kmayur809@gmail.com> wrote:
>
> Signed-off-by: Mayur Kumar <kmayur809@gmail.com>
> ---
>  drivers/thermal/thermal_sysfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/thermal_sysfs.c b/drivers/thermal/thermal_sysfs.c
> index 5eecae13f07..15f269358e0 100644
> --- a/drivers/thermal/thermal_sysfs.c
> +++ b/drivers/thermal/thermal_sysfs.c
> @@ -82,7 +82,7 @@ mode_store(struct device *dev, struct device_attribute *attr,
>  }
>
>  #define thermal_trip_of_attr(_ptr_, _attr_)                            \
> -       ({                                                              \
> +       ({\

Broken, but I fixed it up.

>                 struct thermal_trip_desc *td;                           \
>                                                                         \
>                 td = container_of(_ptr_, struct thermal_trip_desc,      \
> --

Applied as 7.2 material, thanks!