On Sat, Jul 28, 2012 at 11:03:47PM +0000, Matt Thomas wrote:
 > Modified Files:
 >      src/sys/dev/i2c: g760a.c
 > 
 > Log Message:
 > Use (void *) instead of (type **) which gcc complains about.

At least one of these casts is discarding const and writing to the
const object returned by sysctl_createv().

It looks as if the const annotations in kern_sysctl.c are rubbish.
Can anyone explain what the model is supposed to be?

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to