Skip to contentSkip to conversation

drivers:staging:gdm724x Fix spaces preffered around that ...

PATCH In review Bogicevic Sasa 2 participants 2 messages Oct 30, 2015 – Oct 31, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers:staging:gdm724x Fix spaces preffered around that ...

This fixes all messages from checkpatch.pl about spaces preffered around that +

---
 drivers/staging/gdm724x/gdm_mux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/gdm724x/gdm_mux.c +2 -2
index 45007ec..e416012 100644
@@ -386,8 +386,8 @@ static int gdm_mux_send(void *priv_dev, void *data, int len, int tty_index,
 	mux_header->payload_size = __cpu_to_le32((u32)len);
 	mux_header->packet_type = __cpu_to_le16(packet_type[tty_index]);
 
-	memcpy(t->buf+MUX_HEADER_SIZE, data, len);
-	memset(t->buf+MUX_HEADER_SIZE+len, 0, total_len - MUX_HEADER_SIZE -
+	memcpy(t->buf + MUX_HEADER_SIZE, data, len);
+	memset(t->buf + MUX_HEADER_SIZE + len, 0, total_len - MUX_HEADER_SIZE -
 	       len);
 
 	t->len = total_len;
Signature · 1 line
2.1.4
#1 lore raw
Quoted 5 lines · Bogicevic Sasa

This fixes all messages from checkpatch.pl about spaces preffered around that +

---

:(

ba7f55b705b9 ("staging: gdm724x: add spaces around binary operators")

regards
sudip