Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1258987 > unrolled thread

[PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around + -

Started byBogicevic Sasa <brutallesale@gmail.com>
First post2015-10-29 21:30 +0100
Last post2015-11-01 01:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around + - Bogicevic Sasa <brutallesale@gmail.com> - 2015-10-29 21:30 +0100
    Re: [PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around  + - Greg KH <gregkh@linuxfoundation.org> - 2015-11-01 01:00 +0100

#1258987 — [PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around + -

FromBogicevic Sasa <brutallesale@gmail.com>
Date2015-10-29 21:30 +0100
Subject[PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around + -
Message-ID<qp1ZE-4UY-17@gated-at.bofh.it>
This fixes two spacing coding style violations around - and + signs

Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
---
 drivers/staging/gdm724x/gdm_lte.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/gdm724x/gdm_lte.c b/drivers/staging/gdm724x/gdm_lte.c
index 6b86551..2202f77 100644
--- a/drivers/staging/gdm724x/gdm_lte.c
+++ b/drivers/staging/gdm724x/gdm_lte.c
@@ -729,7 +729,7 @@ static void gdm_lte_multi_sdu_pkt(struct phy_dev *phy_dev, char *buf, int len)
 			pr_err("rx sdu invalid nic_type :%x\n", nic_type);
 		}
 
-		data += ((hci_len+3) & 0xfffc) + HCI_HEADER_SIZE;
+		data += ((hci_len + 3) & 0xfffc) + HCI_HEADER_SIZE;
 	}
 }
 
@@ -850,7 +850,7 @@ static void form_mac_address(u8 *dev_addr, u8 *nic_src, u8 *nic_dest,
 	/* The last byte of the mac address
 	 * should be less than or equal to 0xFC
 	 */
-	dev_addr[ETH_ALEN-1] += index;
+	dev_addr[ETH_ALEN - 1] += index;
 
 	/* Create random nic src and copy the first
 	 * 3 bytes to be the same as dev_addr
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1260070 — Re: [PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around + -

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-11-01 01:00 +0100
SubjectRe: [PATCH 3/3] drivers:staging:gdm724x Fix spaces preferred around + -
Message-ID<qpOdY-QP-3@gated-at.bofh.it>
In reply to#1258987
On Thu, Oct 29, 2015 at 09:19:44PM +0100, Bogicevic Sasa wrote:
> This fixes two spacing coding style violations around - and + signs
> 
> Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>

Where is patch 1/3 and 2/3?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web