pageexec at freemail.hu: > so in this case what you can do is similar to what PaX does in drivers/ata/libata-core.c: > > - ops->inherits = NULL; > + ((struct ata_port_operations *)ops)->inherits = NULL; It is a 'const struct foo_ops *ops' case instead of 'struct foo_ops { void (* const f)() }' case, isn't it? J. R. Okajima