| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenPPC] [xenppc-unstable] [ppc] Handle 2 forms of NULL gues handle
 On Jul 27, 2006, at 5:13 PM, Hollis Blanchard wrote: On Thu, 2006-07-27 at 16:37 -0400, Jimi Xenidis wrote:I think the correct solution (pretty sure it would cover it all) would be to arrange for __xencomm_init(buffer=NULL) to set desc-nr_addrs = 0, never touching desc->address[] and checking for(nr_addrs==0) in xencomm_handle_is_null(), also reducing the number of checks and assignments required to communicate "nothing" not so simple because 'bytes' is non-zero and we'll end up reporting ENOSPC. I think we still need to "else" the buffer!=NULL case below. I'll take this an test it. -JX _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |