[PATCH 07/18] staging: wilc1000: replaces PRINT_D with netdev_err

Greg KH gregkh at linuxfoundation.org
Mon Sep 21 02:00:24 UTC 2015


On Sun, Sep 20, 2015 at 03:51:14PM +0900, Chaehyun Lim wrote:
> This patch replaces PRINT_D with netdev_err which is used at error
> checking.
> 
> Signed-off-by: Chaehyun Lim <chaehyun.lim at gmail.com>
> ---
>  drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> index 216da0c..bf9d9ee 100644
> --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
> @@ -3694,17 +3694,17 @@ void wilc_free_wiphy(struct net_device *net)
>  	netdev_info(net, "Unregistering wiphy\n");
>  
>  	if (!net) {
> -		PRINT_D(INIT_DBG, "net_device is NULL\n");
> +		netdev_err(net, "net_device is NULL\n");

Same comment as the previous one, this conversion is not correct.

thanks,

greg k-h


More information about the devel mailing list