Date: Wed, 09 Mar 2016 19:30:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207855] usr/src/sys/geom/vinum/geom_vinum_plex.c:173: bad assert ? Message-ID: <bug-207855-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207855 Bug ID: 207855 Summary: usr/src/sys/geom/vinum/geom_vinum_plex.c:173: bad assert ? Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: dcb314@hotmail.com usr/src/sys/geom/vinum/geom_vinum_plex.c:173]: (style) A pointer can not be negative so it is either pointless or an error to check if it is not. Source code is KASSERT(sdno >=3D 0, ("gv_plex_offset: sdno < 0")); but gv_plex_offset(struct gv_plex *p, off_t boff, off_t bcount, off_t *real_off, off_t *real_len, int *sdno, int growing) { --=20 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-207855-8>