diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-09-25 03:49:57 -0400 |
|---|---|---|
| committer | Corey Minyard <cminyard@mvista.com> | 2017-09-28 13:26:05 -0400 |
| commit | daf9a4ebb742e1229d48bdddff8b91f73202d547 (patch) | |
| tree | 77b9bc6aaad05da489b2fabac36ab9b416ed1948 | |
| parent | 106a846102b86a55359afaeec9b424928db7259c (diff) | |
ipmi: pr_err() strings should end with newlines
pr_err() messages should terminated with a new-line to avoid
other messages being concatenated onto the end.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
| -rw-r--r-- | drivers/char/ipmi/ipmi_dmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/ipmi/ipmi_dmi.c b/drivers/char/ipmi/ipmi_dmi.c index d08d41903b0f..bb984176047b 100644 --- a/drivers/char/ipmi/ipmi_dmi.c +++ b/drivers/char/ipmi/ipmi_dmi.c | |||
| @@ -79,7 +79,7 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr, | |||
| 79 | si_type = SI_SMIC; | 79 | si_type = SI_SMIC; |
| 80 | break; | 80 | break; |
| 81 | default: | 81 | default: |
| 82 | pr_err("ipmi:dmi: Invalid IPMI type: %d", type); | 82 | pr_err("ipmi:dmi: Invalid IPMI type: %d\n", type); |
| 83 | return; | 83 | return; |
| 84 | } | 84 | } |
| 85 | 85 | ||
| @@ -102,7 +102,7 @@ static void __init dmi_add_platform_ipmi(unsigned long base_addr, | |||
| 102 | 102 | ||
| 103 | pdev = platform_device_alloc(name, ipmi_dmi_nr); | 103 | pdev = platform_device_alloc(name, ipmi_dmi_nr); |
| 104 | if (!pdev) { | 104 | if (!pdev) { |
| 105 | pr_err("ipmi:dmi: Error allocation IPMI platform device"); | 105 | pr_err("ipmi:dmi: Error allocation IPMI platform device\n"); |
| 106 | return; | 106 | return; |
| 107 | } | 107 | } |
| 108 | pdev->driver_override = override; | 108 | pdev->driver_override = override; |
| @@ -267,7 +267,7 @@ static void __init dmi_decode_ipmi(const struct dmi_header *dm) | |||
| 267 | offset = 16; | 267 | offset = 16; |
| 268 | break; | 268 | break; |
| 269 | default: | 269 | default: |
| 270 | pr_err("ipmi:dmi: Invalid offset: 0"); | 270 | pr_err("ipmi:dmi: Invalid offset: 0\n"); |
| 271 | return; | 271 | return; |
| 272 | } | 272 | } |
| 273 | } | 273 | } |
