From: Matt Turner <mattst88@gmail.com>
To: linux-alpha@vger.kernel.org
Cc: "David S . Miller" <davem@davemloft.net>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Matt Turner <mattst88@gmail.com>
Subject: [PATCH 4/5] second: Fix typo'd operator
Date: Sun, 5 Apr 2020 11:48:57 -0700 [thread overview]
Message-ID: <20200405184858.3963582-4-mattst88@gmail.com> (raw)
In-Reply-To: <20200405184858.3963582-1-mattst88@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
---
second/disk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/second/disk.c b/second/disk.c
index 40234b3..b81a465 100644
--- a/second/disk.c
+++ b/second/disk.c
@@ -293,7 +293,7 @@ int silo_disk_read(char *buff, int size, unsigned long long offset)
if (!net) {
if (prom_vers != PROM_P1275) {
if (((romvec->pv_printrev >> 16) < 2 ||
- ((romvec->pv_printrev >> 16) == 2 && (romvec->pv_printrev && 0xffff) < 6))
+ ((romvec->pv_printrev >> 16) == 2 && (romvec->pv_printrev & 0xffff) < 6))
&& offset >= 0x40000000) {
printf ("Buggy old PROMs don't allow reading past 1GB from start of the disk. Send complaints to SMCC\n");
return -1;
--
2.24.1
next prev parent reply other threads:[~2020-04-05 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 18:48 [PATCH 1/5] silo: Build with -fno-PIC to reduce size Matt Turner
2020-04-05 18:48 ` [PATCH 2/5] silo: Build with -U_FORTIFY_SOURCE Matt Turner
2020-04-05 18:48 ` [PATCH 3/5] silo: Fix misleading indentation Matt Turner
2020-04-05 18:48 ` Matt Turner [this message]
2020-04-05 18:48 ` [PATCH 5/5] second/util: Remove unused shadowed variables Matt Turner
2020-04-05 18:54 ` [PATCH 1/5] silo: Build with -fno-PIC to reduce size Matt Turner
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=20200405184858.3963582-4-mattst88@gmail.com \
--to=mattst88@gmail.com \
--cc=aaro.koskinen@iki.fi \
--cc=davem@davemloft.net \
--cc=linux-alpha@vger.kernel.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