, list_for_each_entry;
identifier pos, var;
@@
-T1 *pos;
...when!=pos=e;
-list_for_each(pos, head)
+list_for_each_entry(var, head, member)
{
...when!=pos=e;
when!=T3 *var;
-var = list_entry(pos, T2, member);
...when!=pos=e;
}
...when!=pos=e;
Signed-off-by: Haneen Mohammed
---
drivers/staging
+DRM_DEV_DEBUG
)
Signed-off-by: Haneen Mohammed
---
Changes in v2:
- Change patch title
- Remove redundant print messages from DRM_DEV_*
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 26
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +-
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
+DRM_DEV_DEBUG
)
Signed-off-by: Haneen Mohammed
---
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 26 +++
drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +-
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 90 ++---
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 19
coccinelle.T2 = T[:-2];
else:
coccinelle.T2 = T;
print T, coccinelle.T2
@r2@
type r1.T;
identifier c1.T2;
@@
-typedef
struct
+ T2
{ ... }
-T
;
@r3@
type r1.T;
identifier c1.T2;
@@
-T
+struct T2
Signed-off-by: Haneen Mohammed
---
drivers/staging/irda/include/net/irda/qos.h | 20 ++
(
+ i->fld,
...)
)
Signed-off-by: Haneen Mohammed
---
drivers/staging/wlan-ng/prism2mgmt.c | 78 ++--
1 file changed, 47 insertions(+), 31 deletions(-)
diff --git a/drivers/staging/wlan-ng/prism2mgmt.c
b/drivers/staging/wlan-ng/prism2mgmt.c
index c4aa9e7.
This patch convert printk() to the preferred variant dev_dbg() and
remove unnecessary comment line.
Issue detected with checkpatch.pl.
Signed-off-by: Haneen Mohammed
---
drivers/staging/pi433/pi433_if.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/staging
6 matches
Mail list logo