> From: Leon Romanovsky <leo...@mellanox.com> > > The coming nldev needs iterate over all IB devices in the system > and in order do not expose the ib_devices list outside the devices.c, > it is necessary to provide function iterator.
nit: "needs iterate over" -> "needs to iterate over..." nit: "order do" -> "order to" > > Current version is written explicitly for nldev callback to avoid > over-engineering at this stage, but it can be easily extended for > other types. > > Signed-off-by: Leon Romanovsky <leo...@mellanox.com> Reviewed-by: Steve Wise <sw...@opengridcomputing.com>