NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/50792 CVS commit: src/sys/arch/mvme68k/mvme68k



The following reply was made to PR port-mvme68k/50792; it has been noted by GNATS.

From: "David A. Holland" <dholland%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/50792 CVS commit: src/sys/arch/mvme68k/mvme68k
Date: Tue, 31 May 2016 03:25:46 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Tue May 31 03:25:46 UTC 2016
 
 Modified Files:
 	src/sys/arch/mvme68k/mvme68k: machdep.c
 
 Log Message:
 PR 50792 David Binderman: make sure we don't divide by zero.
 
 The loop that picks delay_divisor might conceivably reject all values,
 particularly if the hardware is sulking for some reason; in that case
 it'll be left zero. Use 1 instead of 0 so we don't then crash.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.153 -r1.154 src/sys/arch/mvme68k/mvme68k/machdep.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index