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

Commit 75be63bc authored by John Stoffel's avatar John Stoffel Committed by James Bottomley
Browse files

sym53c8xx: ratelimit parity errors



This makes a huge difference when you have a serial console on bootup to limit
these messages to a sane number.

Signed-off-by: default avatarJohn Stoffel <john@stoffel.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 5e2fb917
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2321,6 +2321,7 @@ static void sym_int_par (struct sym_hcb *np, u_short sist)
	int phase	= cmd & 7;
	struct sym_ccb *cp	= sym_ccb_from_dsa(np, dsa);

	if (printk_ratelimit())
		printf("%s: SCSI parity error detected: SCR1=%d DBC=%x SBCL=%x\n",
			sym_name(np), hsts, dbc, sbcl);