* [PATCH] ARM: OMAP2+: prefer 'unsigned int' to bare use of 'unsigned'
[not found] <20230709135705.59832-1-denghuilong@cdjrlc.com>
@ 2023-07-09 13:59 ` xuanzhenggang001
2023-07-31 6:43 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: xuanzhenggang001 @ 2023-07-09 13:59 UTC (permalink / raw)
To: tony; +Cc: linux, linux-omap, linux-arm-kernel, linux-kernel
arch/arm/mach-omap2/display.c:73: WARNING: Prefer 'unsigned int' to bare
use of 'unsigned'
arch/arm/mach-omap2/display.c:111: WARNING: Prefer 'unsigned int' to
bare use of 'unsigned'
arch/arm/mach-omap2/display.c:119: WARNING: Prefer 'unsigned int' to
bare use of 'unsigned'
Signed-off-by: Zhenggang Xuan <xuanzhenggang001@208suo.com>
---
arch/arm/mach-omap2/display.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-omap2/display.c
b/arch/arm/mach-omap2/display.c
index dbec3bb9fbf4..c7a39d497e47 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -70,7 +70,7 @@ static struct platform_device omap_display_device = {
static struct regmap *omap4_dsi_mux_syscon;
-static int omap4_dsi_mux_pads(int dsi_id, unsigned lanes)
+static int omap4_dsi_mux_pads(int dsi_id, unsigned int lanes)
{
u32 enable_mask, enable_shift;
u32 pipd_mask, pipd_shift;
@@ -108,7 +108,7 @@ static int omap4_dsi_mux_pads(int dsi_id, unsigned
lanes)
return 0;
}
-static int omap_dsi_enable_pads(int dsi_id, unsigned lane_mask)
+static int omap_dsi_enable_pads(int dsi_id, unsigned int lane_mask)
{
if (cpu_is_omap44xx())
return omap4_dsi_mux_pads(dsi_id, lane_mask);
@@ -116,7 +116,7 @@ static int omap_dsi_enable_pads(int dsi_id, unsigned
lane_mask)
return 0;
}
-static void omap_dsi_disable_pads(int dsi_id, unsigned lane_mask)
+static void omap_dsi_disable_pads(int dsi_id, unsigned int lane_mask)
{
if (cpu_is_omap44xx())
omap4_dsi_mux_pads(dsi_id, 0);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP2+: prefer 'unsigned int' to bare use of 'unsigned'
2023-07-09 13:59 ` [PATCH] ARM: OMAP2+: prefer 'unsigned int' to bare use of 'unsigned' xuanzhenggang001
@ 2023-07-31 6:43 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2023-07-31 6:43 UTC (permalink / raw)
To: xuanzhenggang001; +Cc: linux, linux-omap, linux-arm-kernel, linux-kernel
* xuanzhenggang001@208suo.com <xuanzhenggang001@208suo.com> [230709 16:59]:
> arch/arm/mach-omap2/display.c:73: WARNING: Prefer 'unsigned int' to bare use
> of 'unsigned'
> arch/arm/mach-omap2/display.c:111: WARNING: Prefer 'unsigned int' to bare
> use of 'unsigned'
> arch/arm/mach-omap2/display.c:119: WARNING: Prefer 'unsigned int' to bare
> use of 'unsigned'
This patch does not apply because the patch has spaces instead of tabs.
Care to check the issue and resend?
Thanks,
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-31 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230709135705.59832-1-denghuilong@cdjrlc.com>
2023-07-09 13:59 ` [PATCH] ARM: OMAP2+: prefer 'unsigned int' to bare use of 'unsigned' xuanzhenggang001
2023-07-31 6:43 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox