Commit 23e8bc20 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix bogus '&' conditinal in set_rtc_mmss().

We're using '&' instead of '&&'.

Noticed by Roel Kluin.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b1d08ac0
......@@ -1070,7 +1070,7 @@ static int set_rtc_mmss(unsigned long nowtime)
* Not having a register set can lead to trouble.
* Also starfire doesn't have a tod clock.
*/
if (!mregs && !dregs & !bregs)
if (!mregs && !dregs && !bregs)
return -1;
if (mregs) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment