mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [char-misc-next V3] mei: me: downgrade two errors to debug level
@ 2013-10-17 10:52 Tomas Winkler
  0 siblings, 0 replies; only message in thread
From: Tomas Winkler @ 2013-10-17 10:52 UTC (permalink / raw)
  To: gregkh
  Cc: arnd, linux-kernel, stable, Paul Bolle, Adam Jackson,
	Joe Perches, Tomas Winkler

From: Paul Bolle <pebolle@tiscali.nl>

The mei_me driver prints "suspend" at error level at each suspend. It
also prints "stop" at error level at driver unload. Downgrade these
uninteresting messages to debug level.

Cc: Adam Jackson <ajax@redhat.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
---
0) v1 was called "mei: me: downgrade "suspend" message to debug level".

V2 also downgrades the "stop" message.

1) Added Adam and Joe to Cc:. They were involved in discussing a patch
 by Adam, which was similar to my v1, about a week ago.

2) Still lightly tested only, but now on top of v3.11.1.
V3: RESEND, it was not merged

 drivers/misc/mei/pci-me.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c
index d2ea9ff..1bf300e 100644
--- a/drivers/misc/mei/pci-me.c
+++ b/drivers/misc/mei/pci-me.c
@@ -232,7 +232,7 @@ static void mei_me_remove(struct pci_dev *pdev)
 	hw = to_me_hw(dev);
 
 
-	dev_err(&pdev->dev, "stop\n");
+	dev_dbg(&pdev->dev, "stop\n");
 	mei_stop(dev);
 
 	/* disable interrupts */
@@ -262,7 +262,7 @@ static int mei_me_pci_suspend(struct device *device)
 	if (!dev)
 		return -ENODEV;
 
-	dev_err(&pdev->dev, "suspend\n");
+	dev_dbg(&pdev->dev, "suspend\n");
 
 	mei_stop(dev);
 
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-17 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-17 10:52 [char-misc-next V3] mei: me: downgrade two errors to debug level Tomas Winkler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®