gigaset: reduce syslog clutter
Improve readability of the Gigaset driver's kernel messages by removing a few unnecessary messages and limiting the emission of some debug messages more narrowly. Impact: logging Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
63e055d1c6
commit
1528b18f7e
@@ -67,14 +67,14 @@ static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf)
|
||||
/* --v-- fall through --v-- */
|
||||
case '\r':
|
||||
/* end of message line, pass to response handler */
|
||||
gig_dbg(DEBUG_TRANSCMD, "%s: End of Message (%d Bytes)",
|
||||
__func__, cbytes);
|
||||
if (cbytes >= MAX_RESP_SIZE) {
|
||||
dev_warn(cs->dev, "response too large (%d)\n",
|
||||
cbytes);
|
||||
cbytes = MAX_RESP_SIZE;
|
||||
}
|
||||
cs->cbytes = cbytes;
|
||||
gigaset_dbg_buffer(DEBUG_TRANSCMD, "received response",
|
||||
cbytes, cs->respdata);
|
||||
gigaset_handle_modem_response(cs);
|
||||
cbytes = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user