cvs commit: src/sys/dev/trm trm.c

[ Available lists | Index of cvs-all | Month of Feb 2004 | Week of 20 Feb 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Olivier Houchard <cognet@FreeBSD.org>
Date
20 Feb 2004 12:36:55
Subject
cvs commit: src/sys/dev/trm trm.c
Message-ID
200402202036.i1KKatjo028819@repoman.freebsd.org


[ Hide this part ]
cognet      2004/02/20 12:36:55 PST

FreeBSD src repository

Modified files:
sys/dev/trm trm.c
Log:
Do not test if pDCB is not NULL, we dereference it before anyway, and it
should not happen. Add a KASSERT instead.

Reported by: Ted Unangst <tedu@coverity.com>
Spotted out by: cperciva

Revision Changes Path
1.19 +2 -3 src/sys/dev/trm/trm.c


Elapsed time: 0.045 seconds