All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Applied "spi: dw: explicitly free IRQ handler in dw_spi_remove_host()" to the spi tree
Date: Fri, 23 Oct 2015 19:25:33 +0300	[thread overview]
Message-ID: <1445617533.22669.64.camel@linux.intel.com> (raw)
In-Reply-To: <20151023161810.GH29919-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>

On Sat, 2015-10-24 at 01:18 +0900, Mark Brown wrote:
> On Fri, Oct 23, 2015 at 10:40:58AM +0300, Andy Shevchenko wrote:
> > On Fri, 2015-10-23 at 08:11 +0900, Mark Brown wrote:
> > > The patch
> 
> > >    spi: dw: explicitly free IRQ handler in dw_spi_remove_host()
> 
> > This one seems incomplete.
> 
> > Yes, we already have a fix 02f20387e1bc in your tree.
> 
> This *appears* to be the same commit you are following up on (please
> always include human readable descriptions)

This commit (9f89566) is a redundancy made by mistake.

> 
> > This makes free_irq() call duplicate.

Currently in your for-next branch

void dw_spi_remove_host(struct dw_spi *dws)
{
        dw_spi_debugfs_remove(dws);

        free_irq(dws->irq, dws->master);
^^^ (1)


        if (dws->dma_ops && dws->dma_ops->dma_exit)
                dws->dma_ops->dma_exit(dws);

        spi_shutdown_chip(dws);

        free_irq(dws->irq, dws->master);
^^^ (2)
}
EXPORT_SYMBOL_GPL(dw_spi_remove_host);

> >  Please, remove it from your tree
> > or do the revert.
> 
> Are you saying that you have realised that your patch is broken since
> sending it?  I've dropped this commit...

No, the commit 02f20387e1bc is rightful and should be present in the
tree.

P.S. Commit IDs as they appear in your for-next branch of SPI tree.

-- 
Andy Shevchenko <andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Intel Finland Oy

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org, linux-spi@vger.kernel.org
Subject: Re: Applied "spi: dw: explicitly free IRQ handler in dw_spi_remove_host()" to the spi tree
Date: Fri, 23 Oct 2015 19:25:33 +0300	[thread overview]
Message-ID: <1445617533.22669.64.camel@linux.intel.com> (raw)
In-Reply-To: <20151023161810.GH29919@sirena.org.uk>

On Sat, 2015-10-24 at 01:18 +0900, Mark Brown wrote:
> On Fri, Oct 23, 2015 at 10:40:58AM +0300, Andy Shevchenko wrote:
> > On Fri, 2015-10-23 at 08:11 +0900, Mark Brown wrote:
> > > The patch
> 
> > >    spi: dw: explicitly free IRQ handler in dw_spi_remove_host()
> 
> > This one seems incomplete.
> 
> > Yes, we already have a fix 02f20387e1bc in your tree.
> 
> This *appears* to be the same commit you are following up on (please
> always include human readable descriptions)

This commit (9f89566) is a redundancy made by mistake.

> 
> > This makes free_irq() call duplicate.

Currently in your for-next branch

void dw_spi_remove_host(struct dw_spi *dws)
{
        dw_spi_debugfs_remove(dws);

        free_irq(dws->irq, dws->master);
^^^ (1)


        if (dws->dma_ops && dws->dma_ops->dma_exit)
                dws->dma_ops->dma_exit(dws);

        spi_shutdown_chip(dws);

        free_irq(dws->irq, dws->master);
^^^ (2)
}
EXPORT_SYMBOL_GPL(dw_spi_remove_host);

> >  Please, remove it from your tree
> > or do the revert.
> 
> Are you saying that you have realised that your patch is broken since
> sending it?  I've dropped this commit...

No, the commit 02f20387e1bc is rightful and should be present in the
tree.

P.S. Commit IDs as they appear in your for-next branch of SPI tree.

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy


  parent reply	other threads:[~2015-10-23 16:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-22 23:11 Applied "spi: dw: explicitly free IRQ handler in dw_spi_remove_host()" to the spi tree Mark Brown
2015-10-23  7:40 ` Andy Shevchenko
     [not found]   ` <1445586058.22669.55.camel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-10-23 16:18     ` Mark Brown
2015-10-23 16:18       ` Mark Brown
     [not found]       ` <20151023161810.GH29919-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-10-23 16:25         ` Andy Shevchenko [this message]
2015-10-23 16:25           ` Andy Shevchenko
     [not found]           ` <1445617533.22669.64.camel-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-10-23 16:30             ` Shevchenko, Andriy
2015-10-23 16:30               ` Shevchenko, Andriy
  -- strict thread matches above, loose matches on Subject: below --
2015-10-20  9:11 [PATCH v3 1/2] spi: dw: explicitly free IRQ handler in dw_spi_remove_host() Andy Shevchenko
     [not found] ` <1445332301-15126-2-git-send-email-andriy.shevchenko-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2015-10-20 19:32   ` Applied "spi: dw: explicitly free IRQ handler in dw_spi_remove_host()" to the spi tree Mark Brown
2015-10-20 19:32     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445617533.22669.64.camel@linux.intel.com \
    --to=andriy.shevchenko-vuqaysv1563yd54fqh9/ca@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.