mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 22:41:25 +00:00
[SPARC64]: Fix bogus '&' conditinal in set_rtc_mmss().
We're using '&' instead of '&&'. Noticed by Roel Kluin. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b1d08ac064
commit
23e8bc200c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user