Arkady> Roland, in core/cache.c
 
    Arkady> should
    device-> cache.gid_cache =
    Arkady>             kmalloc(sizeof *device->cache.pkey_cache *
    Arkady> (end_port(device) - start_port(device) + 1), GFP_KERNEL);

    Arkady> be

    device-> cache.gid_cache =
    Arkady>             kmalloc(sizeof *device->cache.gid_cache *
    Arkady> (end_port(device) - start_port(device) + 1), GFP_KERNEL);

Yes, I guess so.  It makes no practical difference since all pointers
are always going to be the same size, but we might as well get it
right.  Care to send a patch?

Thanks,
  Roland
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to