Skip to contentSkip to conversation

Staging:bcm:verndorspecificficextn.c: fixed five styling issues

PATCH In review Panos Vlachos 2 participants 2 messages Aug 8, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging:bcm:verndorspecificficextn.c: fixed five styling issues

Fixed the following styling issues:
vendorspecificextn.c:14: WARNING: line over 80 characters vendorspecificextn.c:64: WARNING: line over 80 characters vendorspecificextn.c:91: WARNING: line over 80 characters vendorspecificextn.c:115: WARNING: line over 80 characters vendorspecificextn.c:138: WARNING: line over 80 characters

---
 drivers/staging/bcm/vendorspecificextn.c |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
drivers/staging/bcm/vendorspecificextn.c +10 -5
index 2c57a16..ddb9f30 100644
@@ -11,7 +11,8 @@
  *		STATUS_SUCCESS/STATUS_FAILURE
  *
  */
-INT vendorextnGetSectionInfo(PVOID  pContext, struct bcm_flash2x_vendor_info *pVendorInfo)
+INT vendorextnGetSectionInfo(PVOID  pContext,
+	struct bcm_flash2x_vendor_info *pVendorInfo)
 {
 	return STATUS_FAILURE;
 }
@@ -61,7 +62,8 @@ INT vendorextnExit(struct bcm_mini_adapter *Adapter)
  *		arg	-input parameter sent by vendor
  *
  * Returns:
- *		CONTINUE_COMMON_PATH in case it is not meant to be processed by vendor ioctls
+ *		CONTINUE_COMMON_PATH in case it is not meant to be processed by
+ *		vendor ioctls
  *		STATUS_SUCCESS/STATUS_FAILURE as per the IOCTL return value
  */
 
@@ -88,7 +90,8 @@ INT vendorextnIoctl(struct bcm_mini_adapter *Adapter, UINT cmd, ULONG arg)
  *		STATUS_SUCCESS/STATUS_FAILURE
  */
 
-INT vendorextnReadSection(PVOID  pContext, PUCHAR pBuffer, enum bcm_flash2x_section_val SectionVal,
+INT vendorextnReadSection(PVOID  pContext, PUCHAR pBuffer,
+	enum bcm_flash2x_section_val SectionVal,
 			UINT offset, UINT numOfBytes)
 {
 	return STATUS_FAILURE;
@@ -112,7 +115,8 @@ INT vendorextnReadSection(PVOID  pContext, PUCHAR pBuffer, enum bcm_flash2x_sect
  * Returns:
  *		STATUS_SUCCESS/STATUS_FAILURE
  */
-INT vendorextnWriteSection(PVOID  pContext, PUCHAR pBuffer, enum bcm_flash2x_section_val SectionVal,
+INT vendorextnWriteSection(PVOID  pContext, PUCHAR pBuffer,
+			enum bcm_flash2x_section_val SectionVal,
 			UINT offset, UINT numOfBytes, bool bVerify)
 {
 	return STATUS_FAILURE;
@@ -135,7 +139,8 @@ INT vendorextnWriteSection(PVOID  pContext, PUCHAR pBuffer, enum bcm_flash2x_sec
  * Returns:
  *		STATUS_SUCCESS/STATUS_FAILURE
  */
-INT vendorextnWriteSectionWithoutErase(PVOID  pContext, PUCHAR pBuffer, enum bcm_flash2x_section_val SectionVal,
+INT vendorextnWriteSectionWithoutErase(PVOID  pContext,
+			PUCHAR pBuffer, enum bcm_flash2x_section_val SectionVal,
 			UINT offset, UINT numOfBytes)
 {
 	return STATUS_FAILURE;
Signature · 1 line
1.7.10.4
#1 lore raw

drivers/staging/bcm/vendorspecificextn.c INT vendorextnIoctl(struct bcm_mini_adapter *Adapter, UINT cmd, ULONG arg) · line 95

Quoted 4 lines · Panos Vlachos
drivers/staging/bcm/vendorspecificextn.c +2 -1
-INT vendorextnReadSection(PVOID  pContext, PUCHAR pBuffer, enum bcm_flash2x_section_val SectionVal,
+INT vendorextnReadSection(PVOID  pContext, PUCHAR pBuffer,
+	enum bcm_flash2x_section_val SectionVal,
 			UINT offset, UINT numOfBytes)

^^ ^^

These are not lined up at all.

regards,
dan carpenter