public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel•com>
To: Sebastian Andrzej Siewior <sebastian@breakpoint•cc>
Cc: Felipe Balbi <balbi@ti•com>, Randy Dunlap <rdunlap@infradead•org>,
	Roger Quadros <rogerq@ti•com>,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	USB list <linux-usb@vger•kernel.org>,
	Sebastian Andrzej Siewior <bigeasy@linutronix•de>,
	Dan Williams <djbw@fb•com>
Subject: Re: [PATCH] dma: cpp41: make it compile with CONFIG_BUG=n
Date: Mon, 19 Aug 2013 11:36:20 +0530	[thread overview]
Message-ID: <20130819060620.GV32147@intel.com> (raw)
In-Reply-To: <20130816154055.GB3570@breakpoint.cc>

On Fri, Aug 16, 2013 at 05:40:55PM +0200, Sebastian Andrzej Siewior wrote:
> From: Sebastian Andrzej Siewior <bigeasy@linutronix•de>
> 
> Before Randy figures out that this does not compile with CONFIG_BUG=n
> here is a fix for it.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix•de>
Acked-by: Vinod Koul <vinod.koul@intel•com>

~Vinod
> ---
>  drivers/dma/cppi41.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c
> index 5dcebca..e696178 100644
> --- a/drivers/dma/cppi41.c
> +++ b/drivers/dma/cppi41.c
> @@ -579,7 +579,7 @@ static int cppi41_tear_down_chan(struct cppi41_channel *c)
>  				WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX));
>  				WARN_ON((pd0 & 0x1f) != c->port_num);
>  			} else {
> -				__WARN();
> +				WARN_ON_ONCE(1);
>  			}
>  			c->td_seen = 1;
>  		}
> -- 
> 1.8.4.rc2
> 

-- 

      reply	other threads:[~2013-08-19  6:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15  6:58 linux-next: Tree for Aug 15 Stephen Rothwell
2013-08-15 17:07 ` linux-next: Tree for Aug 15 (usb/phy/phy-am335x-control.c) Randy Dunlap
2013-08-16 10:46   ` Roger Quadros
2013-08-16 15:32     ` [PATCH] usb: phy: am335x-control: make it compile with Sebastian Andrzej Siewior
     [not found]       ` <20130816153249.GA3570-E0PNVn5OA6ohrxcnuTQ+TQ@public.gmane.org>
2013-08-16 18:00         ` Randy Dunlap
2013-08-16 15:40     ` [PATCH] dma: cpp41: make it compile with CONFIG_BUG=n Sebastian Andrzej Siewior
2013-08-19  6:06       ` Vinod Koul [this message]

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=20130819060620.GV32147@intel.com \
    --to=vinod.koul@intel$(echo .)com \
    --cc=balbi@ti$(echo .)com \
    --cc=bigeasy@linutronix$(echo .)de \
    --cc=djbw@fb$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=linux-usb@vger$(echo .)kernel.org \
    --cc=rdunlap@infradead$(echo .)org \
    --cc=rogerq@ti$(echo .)com \
    --cc=sebastian@breakpoint$(echo .)cc \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox