Hi Reshma, <snipped>
> > > + if ((ret) | (!is_leaf)) > > + > > Is the operator here should be || ? > > Check is done for 'if either ret is not 0 or if it ret is 0 but not leaf' we skip leaf details print. If 'ret is 0 and is leaf' we skip continue to print leaf details.