drivers:staging:gdm724x Fix spaces preffered around that ...
PATCH 1/1 drivers:staging:gdm724x Fix spaces preffered around that ...
This fixes all messages from checkpatch.pl about spaces preffered around that +
Signed-off-by Bogicevic Sasa <[email protected]>
--- drivers/staging/gdm724x/gdm_mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/gdm724x/gdm_mux.c +2 -2
@@ -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
Quoted 5 lines · Bogicevic Sasa
This fixes all messages from checkpatch.pl about spaces preffered around that +
Signed-off-by Bogicevic Sasa <[email protected]>---
:(
ba7f55b705b9 ("staging: gdm724x: add spaces around binary operators")
regards
sudip