[parisc-linux] [PATCH] Additional Address cleanup

Ryan Bradetich rbradetich@uswest.net
Fri, 21 Sep 2001 12:21:07 -0600


Hello parisc-linux hackers,

Rereading the patch, I spotted a bug in the kmalloc *sigh*.

> +	dev->addr = kmalloc(sizeof(unsigned long), num_addrs);

The kmalloc should look like this (I think).
	dev->addr = kmalloc(num_addrs * sizeof(unsigned long), GFP_KERNEL);

- Ryan