From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.hauppauge.com ([167.206.143.4]:2159 "EHLO mail.hauppauge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759725AbZBRWif (ORCPT ); Wed, 18 Feb 2009 17:38:35 -0500 Message-ID: <499C8DDF.6050804@linuxtv.org> Date: Wed, 18 Feb 2009 17:38:23 -0500 From: Michael Krufky MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: Linux Media Mailing List , Andrew Morton , Roel Kluin Subject: Re: Fw: [PATCH] V4L: missing parentheses? References: <20090218075024.1fa03027@pedra.chehab.org> In-Reply-To: <20090218075024.1fa03027@pedra.chehab.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Yes, Please merge this Mauro. Thank you :-) Acked-by: Michael Krufky Strange, I didn't get the original mail, but I got Mauro's replies... Oh well. Cheers, Mike Mauro Carvalho Chehab wrote: > Patch resent to the proper ML, in order to be handled by patchwork. > > Michael, > The patch seems ok to my eyes. Please ack if ok for you to apply it. > > Forwarded message: > > Date: Wed, 18 Feb 2009 10:11:10 +0100 > From: Roel Kluin > To: Michael Krufky > Cc: Mauro Carvalho Chehab , video4linux-list@redhat.com, Andrew Morton > Subject: [PATCH] V4L: missing parentheses? > > > Please review. > --------------------------->8-------------8<------------------------------ > Add missing parentheses > > Signed-off-by: Roel Kluin > --- > diff --git a/drivers/media/common/tuners/tda18271-common.c b/drivers/media/common/tuners/tda18271-common.c > index 6fb5b45..fc76c30 100644 > --- a/drivers/media/common/tuners/tda18271-common.c > +++ b/drivers/media/common/tuners/tda18271-common.c > @@ -490,9 +490,9 @@ int tda18271_set_standby_mode(struct dvb_frontend *fe, > tda_dbg("sm = %d, sm_lt = %d, sm_xt = %d\n", sm, sm_lt, sm_xt); > > regs[R_EP3] &= ~0xe0; /* clear sm, sm_lt, sm_xt */ > - regs[R_EP3] |= sm ? (1 << 7) : 0 | > - sm_lt ? (1 << 6) : 0 | > - sm_xt ? (1 << 5) : 0; > + regs[R_EP3] |= (sm ? (1 << 7) : 0) | > + (sm_lt ? (1 << 6) : 0) | > + (sm_xt ? (1 << 5) : 0); > > return tda18271_write_regs(fe, R_EP3, 1); > } > > > > > Cheers, > Mauro >