Skip to contentSkip to conversation

ALSA: hdac: add missing \n to end of dev_err messages

PATCH Applied Colin King 2 participants 2 messages Sep 16, 2016 Sound

lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 ALSA: hdac: add missing \n to end of dev_err messages

From: Colin Ian King <[email protected]>

Trival fix, some dev_err messages are missing a \n, so add it.

---
 sound/hda/ext/hdac_ext_stream.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
sound/hda/ext/hdac_ext_stream.c +5 -5
index 2441273..3be051a 100644
@@ -424,7 +424,7 @@ void snd_hdac_ext_stream_spbcap_enable(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->spbcap) {
-		dev_err(bus->dev, "Address of SPB capability is NULL");
+		dev_err(bus->dev, "Address of SPB capability is NULL\n");
 		return;
 	}
 
@@ -453,7 +453,7 @@ int snd_hdac_ext_stream_set_spib(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->spbcap) {
-		dev_err(bus->dev, "Address of SPB capability is NULL");
+		dev_err(bus->dev, "Address of SPB capability is NULL\n");
 		return -EINVAL;
 	}
 
@@ -476,7 +476,7 @@ int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->spbcap) {
-		dev_err(bus->dev, "Address of SPB capability is NULL");
+		dev_err(bus->dev, "Address of SPB capability is NULL\n");
 		return -EINVAL;
 	}
 
@@ -516,7 +516,7 @@ void snd_hdac_ext_stream_drsm_enable(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->drsmcap) {
-		dev_err(bus->dev, "Address of DRSM capability is NULL");
+		dev_err(bus->dev, "Address of DRSM capability is NULL\n");
 		return;
 	}
 
@@ -545,7 +545,7 @@ int snd_hdac_ext_stream_set_dpibr(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->drsmcap) {
-		dev_err(bus->dev, "Address of DRSM capability is NULL");
+		dev_err(bus->dev, "Address of DRSM capability is NULL\n");
 		return -EINVAL;
 	}
 
Signature · 1 line
2.9.3
Applied
#1 lore raw
Quoted 6 lines · Colin King

From: Colin Ian King <[email protected]>

Trival fix, some dev_err messages are missing a \n, so add it.

Applied, thanks.

Takashi

Quoted 57 lines
---
 sound/hda/ext/hdac_ext_stream.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
sound/hda/ext/hdac_ext_stream.c +5 -5
index 2441273..3be051a 100644
@@ -424,7 +424,7 @@ void snd_hdac_ext_stream_spbcap_enable(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->spbcap) {
-		dev_err(bus->dev, "Address of SPB capability is NULL");
+		dev_err(bus->dev, "Address of SPB capability is NULL\n");
 		return;
 	}
 
@@ -453,7 +453,7 @@ int snd_hdac_ext_stream_set_spib(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->spbcap) {
-		dev_err(bus->dev, "Address of SPB capability is NULL");
+		dev_err(bus->dev, "Address of SPB capability is NULL\n");
 		return -EINVAL;
 	}
 
@@ -476,7 +476,7 @@ int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->spbcap) {
-		dev_err(bus->dev, "Address of SPB capability is NULL");
+		dev_err(bus->dev, "Address of SPB capability is NULL\n");
 		return -EINVAL;
 	}
 
@@ -516,7 +516,7 @@ void snd_hdac_ext_stream_drsm_enable(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->drsmcap) {
-		dev_err(bus->dev, "Address of DRSM capability is NULL");
+		dev_err(bus->dev, "Address of DRSM capability is NULL\n");
 		return;
 	}
 
@@ -545,7 +545,7 @@ int snd_hdac_ext_stream_set_dpibr(struct hdac_ext_bus *ebus,
 	struct hdac_bus *bus = &ebus->bus;
 
 	if (!bus->drsmcap) {
-		dev_err(bus->dev, "Address of DRSM capability is NULL");
+		dev_err(bus->dev, "Address of DRSM capability is NULL\n");
 		return -EINVAL;
 	}
 
Signature · 1 line
2.9.3