diff options
| author | Jubin John <jubin.john@intel.com> | 2016-02-15 07:21:16 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 04:45:40 +0300 |
| commit | fcdd76df519e7be5e1094a4bf995374398c44efc (patch) | |
| tree | c85026f9ab6eec8794529ebc6b09cc4cbca0b0a3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 3db68f4672be95d6f8b0482f1e14c4257b1ee45e (diff) | |
| download | linux-fcdd76df519e7be5e1094a4bf995374398c44efc.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
