svn commit: r249461 - head/sys/dev/ips

John Baldwin jhb at freebsd.org
Tue Apr 16 17:11:32 UTC 2013


On Saturday, April 13, 2013 10:42:40 pm Hiren Panchasara wrote:
> Author: hiren
> Date: Sun Apr 14 02:42:40 2013
> New Revision: 249461
> URL: http://svnweb.freebsd.org/changeset/base/249461
> 
> Log:
>   Fixing a clang warning indicating uninitialized variable usage.
>   
>   PR:	kern/177164
>   Approved by:	sbruno (mentor)

Hmm, I always thought that dmatags and maps were opaque types and not 
necessarily "known" in consumers to be pointers.  (Some drivers do check tehm 
against NULL implicitly via 'if (map)' or 'if (tag)', but well-behaved drivers 
use other means (flags, etc.) to know if they are valid.)

-- 
John Baldwin


More information about the svn-src-all mailing list