diff options
| author | Jubin John <jubin.john@intel.com> | 2016-02-14 20:21:16 -0800 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:45:40 -0500 |
| commit | fcdd76df519e7be5e1094a4bf995374398c44efc (patch) | |
| tree | c85026f9ab6eec8794529ebc6b09cc4cbca0b0a3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | staging/rdma/hfi1: Remove CamelCase (diff) | |
| download | linux-fcdd76df519e7be5e1094a4bf995374398c44efc.tar.gz linux-fcdd76df519e7be5e1094a4bf995374398c44efc.zip | |
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
