On Fri, Jun 24, 2016 at 12:27:27PM -0600, Jason Gunthorpe wrote:
> On Tue, Jun 21, 2016 at 06:10:28PM -0700, Ed Swierk wrote:
> 
> >             if (chip->ops->req_canceled(chip, status)) {
> >                     dev_err(chip->pdev, "Operation Canceled\n");
> > +                   dev_dbg(chip->pdev, "canceled command %d after %d ms\n",
> > +                           ordinal, jiffies_to_msecs(jiffies -
> >                     start));
> 
> [..]
> 
> >     chip->ops->cancel(chip);
> >     dev_err(chip->pdev, "Operation Timed out\n");
> > +   dev_dbg(chip->pdev, "command %d timed out after %d ms\n", ordinal,
> > +           jiffies_to_msecs(jiffies - start));
> 
> No sense in logging twice, just enhance the existingerror message.

Absolutely agree. Jason, thanks for pointing this out!

/Jarkko

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to