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: <20161218164650.pgrls6ead7jfgyj4@AYYLMAO>
Date:   Sun, 18 Dec 2016 16:46:50 +0000
From:   Afonso Bordado <afonsobordado@....co>
To:     gregkh@...uxfoundation.org
Cc:     devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: emxx_udc: Fix CamelCase styling issue

Converts from CamelCase to the recommended style.

Signed-off-by: Afonso Bordado <afonsobordado@....co>
---
 drivers/staging/emxx_udc/emxx_udc.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 3f42fa8..cf5cdd8 100644
--- a/drivers/staging/emxx_udc/emxx_udc.c
+++ b/drivers/staging/emxx_udc/emxx_udc.c
@@ -553,25 +553,25 @@ static void _nbu2ss_dma_unmap_single(
 
 /*-------------------------------------------------------------------------*/
 /* Endpoint 0 OUT Transfer (PIO) */
-static int EP0_out_PIO(struct nbu2ss_udc *udc, u8 *pBuf, u32 length)
+static int EP0_out_PIO(struct nbu2ss_udc *udc, u8 *p_buf, u32 length)
 {
 	u32		i;
 	int		nret   = 0;
-	u32		iWordLength = 0;
-	union usb_reg_access *pBuf32 = (union usb_reg_access *)pBuf;
+	u32		i_word_length = 0;
+	union usb_reg_access *p_buf32 = (union usb_reg_access *)p_buf;
 
 	/*------------------------------------------------------------*/
 	/* Read Length */
-	iWordLength = length / sizeof(u32);
+	i_word_length = length / sizeof(u32);
 
 	/*------------------------------------------------------------*/
 	/* PIO Read */
-	if (iWordLength) {
-		for (i = 0; i < iWordLength; i++) {
-			pBuf32->dw = _nbu2ss_readl(&udc->p_regs->EP0_READ);
-			pBuf32++;
+	if (i_word_length) {
+		for (i = 0; i < i_word_length; i++) {
+			p_buf32->dw = _nbu2ss_readl(&udc->p_regs->EP0_READ);
+			p_buf32++;
 		}
-		nret = iWordLength * sizeof(u32);
+		nret = i_word_length * sizeof(u32);
 	}
 
 	return nret;
-- 
2.9.3


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ