Re: [RESEND PATCH 3/3] net: define LOG_CATEGORY

2021-07-22 Thread Ramon Fried
On Tue, Jul 20, 2021 at 9:15 PM Patrick Delaunay
 wrote:
>
> Define LOG_CATEGORY to allow filtering with log command.
>
> Signed-off-by: Patrick Delaunay 
> Reviewed-by: Ramon Fried 
> ---
>
>  net/eth-uclass.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/net/eth-uclass.c b/net/eth-uclass.c
> index 5146bd..c2a97d723a 100644
> --- a/net/eth-uclass.c
> +++ b/net/eth-uclass.c
> @@ -5,6 +5,8 @@
>   * Joe Hershberger, National Instruments
>   */
>
> +#define LOG_CATEGORY UCLASS_ETH
> +
>  #include 
>  #include 
>  #include 
> --
> 2.25.1
>

Applied to u-boot-net/network-master
Thanks,
Ramon.


[RESEND PATCH 3/3] net: define LOG_CATEGORY

2021-07-20 Thread Patrick Delaunay
Define LOG_CATEGORY to allow filtering with log command.

Signed-off-by: Patrick Delaunay 
Reviewed-by: Ramon Fried 
---

 net/eth-uclass.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 5146bd..c2a97d723a 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -5,6 +5,8 @@
  * Joe Hershberger, National Instruments
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include 
 #include 
 #include 
-- 
2.25.1