commit | fcdd76df519e7be5e1094a4bf995374398c44efc | [log] [tgz] |
---|---|---|
author | Jubin John <jubin.john@intel.com> | Sun Feb 14 20:21:16 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Thu Mar 10 20:45:40 2016 -0500 |
tree | c85026f9ab6eec8794529ebc6b09cc4cbca0b0a3 | |
parent | 3db68f4672be95d6f8b0482f1e14c4257b1ee45e [diff] |
staging/rdma/hfi1: Use pointer instead of struct name Use sizeof(*p) instead of sizeof(struct foo) to fix checkpatch check: CHECK: Prefer alloc(sizeof(*p)...) over alloc(sizeof(struct foo)...) Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>