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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161107120125.4663-3-shiva@exdev.nl>
Date:   Mon,  7 Nov 2016 13:01:22 +0100
From:   Shiva Kerdel <shiva@...ev.nl>
To:     German.Rivera@...escale.com
Cc:     stuart.yoder@....com, gregkh@...uxfoundation.org,
        german.rivera@....com, itai.katz@....com, treding@...dia.com,
        bharat.bhushan@....com, nipun.gupta@....com,
        linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
        Shiva Kerdel <shiva@...ev.nl>
Subject: [PATCH 3/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u8' preferred over 'uint8_t'

Follow the kernel type preferrences of using 'u8' over 'uint8_t'.

Signed-off-by: Shiva Kerdel <shiva@...ev.nl>
---
 drivers/staging/fsl-mc/bus/dpmcp.h | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h
index a801061..854621a 100644
--- a/drivers/staging/fsl-mc/bus/dpmcp.h
+++ b/drivers/staging/fsl-mc/bus/dpmcp.h
@@ -93,44 +93,44 @@ struct dpmcp_irq_cfg {
 int dpmcp_set_irq(struct fsl_mc_io	*mc_io,
 		  u32			cmd_flags,
 		  u16			token,
-		 uint8_t		irq_index,
+		 u8			irq_index,
 		  struct dpmcp_irq_cfg	*irq_cfg);
 
 int dpmcp_get_irq(struct fsl_mc_io	*mc_io,
 		  u32			cmd_flags,
 		  u16			token,
-		 uint8_t		irq_index,
+		 u8			irq_index,
 		 int			*type,
 		 struct dpmcp_irq_cfg	*irq_cfg);
 
 int dpmcp_set_irq_enable(struct fsl_mc_io	*mc_io,
 			 u32			cmd_flags,
 			 u16			token,
-			uint8_t			irq_index,
-			uint8_t			en);
+			u8			irq_index,
+			u8			en);
 
 int dpmcp_get_irq_enable(struct fsl_mc_io	*mc_io,
 			 u32			cmd_flags,
 			 u16			token,
-			uint8_t			irq_index,
-			uint8_t			*en);
+			u8			irq_index,
+			u8			*en);
 
 int dpmcp_set_irq_mask(struct fsl_mc_io	*mc_io,
 		       u32	cmd_flags,
 		       u16		token,
-		      uint8_t		irq_index,
+		      u8		irq_index,
 		      u32		mask);
 
 int dpmcp_get_irq_mask(struct fsl_mc_io	*mc_io,
 		       u32	cmd_flags,
 		       u16		token,
-		      uint8_t		irq_index,
+		      u8		irq_index,
 		      u32		*mask);
 
 int dpmcp_get_irq_status(struct fsl_mc_io	*mc_io,
 			 u32			cmd_flags,
 			 u16			token,
-			uint8_t			irq_index,
+			u8			irq_index,
 			u32			*status);
 
 /**
-- 
2.10.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ