Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {