[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200724063052.GG841369@xps-13>
Date: Fri, 24 Jul 2020 08:30:52 +0200
From: Andrea Righi <andrea.righi@...onical.com>
To: David Miller <davem@...emloft.net>
Cc: boris.ostrovsky@...cle.com, jgross@...e.com,
sstabellini@...nel.org, kuba@...nel.org,
xen-devel@...ts.xenproject.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xen-netfront: fix potential deadlock in xennet_remove()
On Thu, Jul 23, 2020 at 02:57:22PM -0700, David Miller wrote:
> From: Andrea Righi <andrea.righi@...onical.com>
> Date: Wed, 22 Jul 2020 08:52:11 +0200
>
> > +static int xennet_remove(struct xenbus_device *dev)
> > +{
> > + struct netfront_info *info = dev_get_drvdata(&dev->dev);
> > +
> > + dev_dbg(&dev->dev, "%s\n", dev->nodename);
>
> These kinds of debugging messages provide zero context and are so much
> less useful than simply using tracepoints which are more universally
> available than printk debugging facilities.
>
> Please remove all of the dev_dbg() calls from this patch.
I didn't add that dev_dbg() call, it's just the old code moved around,
but I agree, I'll remove that call and send a new version of this patch.
Thanks for looking at it!
-Andrea
Powered by blists - more mailing lists