2
0

348-brcmfmac-Remove-unnecessary-new-line-in-pcie-console.patch 890 B

1234567891011121314151617181920212223242526
  1. From: Hante Meuleman <[email protected]>
  2. Date: Wed, 18 Mar 2015 13:25:24 +0100
  3. Subject: [PATCH] brcmfmac: Remove unnecessary new-line in pcie console
  4. logging.
  5. Reviewed-by: Arend Van Spriel <[email protected]>
  6. Reviewed-by: Pieter-Paul Giesberts <[email protected]>
  7. Signed-off-by: Hante Meuleman <[email protected]>
  8. Signed-off-by: Arend van Spriel <[email protected]>
  9. Signed-off-by: Kalle Valo <[email protected]>
  10. ---
  11. --- a/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
  12. +++ b/drivers/net/wireless/brcm80211/brcmfmac/pcie.c
  13. @@ -651,10 +651,9 @@ static void brcmf_pcie_bus_console_read(
  14. console->log_str[console->log_idx] = ch;
  15. console->log_idx++;
  16. }
  17. -
  18. if (ch == '\n') {
  19. console->log_str[console->log_idx] = 0;
  20. - brcmf_dbg(PCIE, "CONSOLE: %s\n", console->log_str);
  21. + brcmf_dbg(PCIE, "CONSOLE: %s", console->log_str);
  22. console->log_idx = 0;
  23. }
  24. }