lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <7efba6a4aae52649aa05756263c0a955@208suo.com>
Date:   Sun, 09 Jul 2023 21:59:41 +0800
From:   xuanzhenggang001@...suo.com
To:     tony@...mide.com
Cc:     linux@...linux.org.uk, linux-omap@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] ARM: OMAP2+: prefer 'unsigned int' to bare use of 'unsigned'

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@...suo.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);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ