[openib-general] cache.c

Roland Dreier rdreier at cisco.com
Tue Feb 14 06:44:08 PST 2006


    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



More information about the general mailing list