Re: [PATCH rdma-next 1/6] IB/core: Save the device attributes on the device structure

Or Gerlitz
2015-12-18T09:01:24Z

On Fri, Dec 18, 2015 at 7:16 AM, ira.weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:

> More than anything what I hate is all the places that allocate struct
> ib_device_attr just to free it after the query call.

did you care to look on patches 2-6, this is exactly what they are doing.