Date: Sun, 20 Apr 2008 17:45:32 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-all.c Message-ID: <200804201745.m3KHjWma066842@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2008-04-20 17:45:32 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.c Log: devclass_get_maxunit() returns n+1 with n starting at 0. So if we have channel 0..3 devclass_get_maxunit is 4. It's never been a problem as devclass_get_device() has catched a possibly bad input. Discussed with: scottl Revision Changes Path 1.287 +5 -4 src/sys/dev/ata/ata-all.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804201745.m3KHjWma066842>