[PATCH] NVMe: Expose namespace unique identifier to sysfs

Jon Derrick jonathan.derrick at intel.com
Tue Dec 8 11:25:57 PST 2015


> > I'm a bit reluctant to use bitmap_empty here, because it's not actually
> > a bitmap.  We almost want the inverse of memchr ("find me the first
> > byte that is non-zero").  Maybe somebody else knows a better functoin
> > to call here?
> 
> Better methods are learned all the time! It was nearly a year ago today
> you suggested bitmap_empty for checking the very same fields. :)
> 

How about memchr_inv? I think Matthew was alluding to that one



More information about the Linux-nvme mailing list