From: Roel Kluin <roel.kluin@gmail.com>
To: Mauro Carvalho Chehab <mchehab@infradead.org>,
e9hack@googlemail.com, linux-media@vger.kernel.org
Subject: tda10023.c: misplaced parentheses?
Date: Tue, 23 Feb 2010 12:01:11 +0100 [thread overview]
Message-ID: <4B83B577.3000404@gmail.com> (raw)
In tda10023_read_signal_strength() we have:
u16 gain = ((255-tda10023_readreg(state, 0x17))) + (255-ifgain)/16;
-------------------------------------------------------^
The closing parenthesis appears misplaced, should this be:
u16 gain = ((255-tda10023_readreg(state, 0x17)) + (255-ifgain))/ 16;
----------------------------------------------------------------------^
Or are the double parentheses just unnecessary?
Roel
reply other threads:[~2010-02-23 10:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4B83B577.3000404@gmail.com \
--to=roel.kluin@gmail.com \
--cc=e9hack@googlemail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox