Wei Wang <[email protected]> wrote: > When "nbits = 0", which means no bits to mask, this macro is expected to > return 0, instead of 0xffffffff. This patch changes the macro to return > 0 when there is no bit needs to be masked. > > Signed-off-by: Wei Wang <[email protected]> > CC: Juan Quintela <[email protected]> > CC: Dr. David Alan Gilbert <[email protected]> > CC: Peter Xu <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
