Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 04:37:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 200619] camcontrol trashes the drive modepage if it's changed
Message-ID:  <bug-200619-8-bz2qTyiOje@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200619-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200619-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200619

--- Comment #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: ngie
Date: Sun Oct 25 04:37:01 UTC 2015
New revision: 289916
URL: https://svnweb.freebsd.org/changeset/base/289916

Log:
  Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the
  mode value isn't always clipped to -1 when (resolution * size) == 32, which
  would have been the case with values => {4i,32b,32t}.

  This seems to have been broken in r64382.

  MFC after: 1 week
  X-MFC with: r289915
  PR: 200619
  Reported by: Michael Baptist
  Submitted by: Lars Skodje
  Sponsored by: EMC / Isilon Storage Division

Changes:
  head/sbin/camcontrol/modeedit.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200619-8-bz2qTyiOje>