Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932632AbbFLHVj (ORCPT ); Fri, 12 Jun 2015 03:21:39 -0400 Received: from mga01.intel.com ([192.55.52.88]:59464 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753482AbbFLHVa (ORCPT ); Fri, 12 Jun 2015 03:21:30 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,600,1427785200"; d="scan'208";a="725862654" Date: Fri, 12 Jun 2015 12:52:50 +0530 From: Vinod Koul To: Sebastian Andrzej Siewior Cc: Mats Karrman , Mark Brown , linux-rt-users , LKML , Thomas Gleixner , rostedt@goodmis.org, John Kacur , Fernando Lopez-Lezcano , alsa-devel@alsa-project.org, Jie Yang , patches.audio@intel.com Subject: Re: [PATCH v2] ASoC: Intel: sst: use ; instead of , at the of a C statement Message-ID: <20150612072250.GB28601@localhost> References: <20150519213923.GA26363@linutronix.de> <55623BC2.80307@localhost> <20150611122227.GF16115@linutronix.de> <55798759.8000607@gmail.com> <20150611131434.GI16115@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150611131434.GI16115@linutronix.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1716 Lines: 45 On Thu, Jun 11, 2015 at 03:14:34PM +0200, Sebastian Andrzej Siewior wrote: > This was spotted by Fernando Lopez-Lezcano > while he tried to compile a -RT kernel with this driver enabled. > "make C=2" would also warn about this. This is is based on his patch. > > Reported-by: Fernando Lopez-Lezcano > Signed-off-by: Sebastian Andrzej Siewior Acked-by: Vinod Koul -- ~Vinod > --- > * Mats Karrman | 2015-06-11 15:04:25 [+0200]: > > >>+ sst_shim_write64(shim, SST_IMRX, shim_regs->imrx): > >Don't you mean ';' and not ':'? > Interresting, yes I do. Thanks. > > sound/soc/intel/atom/sst/sst.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/soc/intel/atom/sst/sst.c b/sound/soc/intel/atom/sst/sst.c > index 96c2e420cce6..a4b458e77089 100644 > --- a/sound/soc/intel/atom/sst/sst.c > +++ b/sound/soc/intel/atom/sst/sst.c > @@ -368,8 +368,8 @@ static inline void sst_restore_shim64(struct intel_sst_drv *ctx, > * initialize by FW or driver when firmware is loaded > */ > spin_lock_irqsave(&ctx->ipc_spin_lock, irq_flags); > - sst_shim_write64(shim, SST_IMRX, shim_regs->imrx), > - sst_shim_write64(shim, SST_CSR, shim_regs->csr), > + sst_shim_write64(shim, SST_IMRX, shim_regs->imrx); > + sst_shim_write64(shim, SST_CSR, shim_regs->csr); > spin_unlock_irqrestore(&ctx->ipc_spin_lock, irq_flags); > } > > -- > 2.1.4 -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/