Re: [PATCH] lib,ratp: avoid too verbose info messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 19, 2017 at 02:36:41PM -0700, Aleksander Morgado wrote:
> When using a cli-based RATP that opens and closes the RATP channel for
> each command sent/received, it gets annoying to get the "Closed"
> message printed all the time in console after each RATP channel close
> operation. Just demote it to debug level.
> 
> E.g.:
>     barebox@barebox sandbox:/ ratp: Closed
>     ratp: Closed
>     ratp: Closed
>     ratp: Closed
>     ...
> 
> Signed-off-by: Aleksander Morgado <aleksander@xxxxxxxxxxxxx>
> ---
>  lib/ratp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/lib/ratp.c b/lib/ratp.c
> index e7fbf640a..4c5c748b4 100644
> --- a/lib/ratp.c
> +++ b/lib/ratp.c
> @@ -1717,7 +1717,7 @@ void ratp_close(struct ratp *ratp)
>  	free(ri);
>  	ratp->internal = NULL;
>  
> -	pr_info("Closed\n");
> +	pr_debug("Closed\n");
>  }
>  
>  /**
> -- 
> 2.14.1
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux