提交 23e8bc20 编写于 作者: D David S. Miller

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

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

Noticed by Roel Kluin.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册