PERFORCE change 111284 for review

John Baldwin jhb at freebsd.org
Fri Dec 8 12:01:58 PST 2006


On Friday 08 December 2006 07:07, Pawel Jakub Dawidek wrote:
> http://perforce.freebsd.org/chv.cgi?CH=111284
> 
> Change 111284 by pjd at pjd_anger on 2006/12/08 12:06:23
> 
> 	We need to pass static buffer to device_set_desc().

Or use device_set_desc_copy().  This change below won't work if you ever have 
2 padlock devices with different descriptions.

> Affected files ...
> 
> .. //depot/projects/crypto/sys/crypto/via/padlock.c#3 edit
> 
> Differences ...
> 
> ==== //depot/projects/crypto/sys/crypto/via/padlock.c#3 (text+ko) ====
> 
> @@ -80,7 +80,7 @@
>  static int
>  padlock_probe(device_t dev)
>  {
> -	char capp[256];
> +	static char capp[256];
>  
>  #if defined(__i386__) && !defined(PC98)
>  	/* If there is no AES support, we has nothing to do here. */
> 

-- 
John Baldwin


More information about the p4-projects mailing list