On Thu, May 10, 2007 at 01:14:55AM +1000, Rusty Russell wrote: > > > + info->peer = (void *)ioremap(info->peer_phys, info->mapsize); > > > > check for NULL > > Erk, good catch! Also the cast is bogus. ioremap already returns void already. Even more importantly the lack of the __iomem annotations shows that either this code hasn't been run through sparse or someone decided to ignore it's errors. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization