diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-07-26 09:52:05 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-07-30 15:56:37 -0400 |
| commit | 1de540a9263876a068a15ce216bd236e2c3394d6 (patch) | |
| tree | e55d3a66afed3fd01e76de3b53d39098d0215861 /tools/perf/scripts/python/bin | |
| parent | 1623835507e343fbc30c5806c65cafc149e8fcc7 (diff) | |
| download | linux-1de540a9263876a068a15ce216bd236e2c3394d6.tar.gz linux-1de540a9263876a068a15ce216bd236e2c3394d6.zip | |
scsi: mpt3sas: clean up a couple sizeof() uses
There is a copy and paste bug here. It uses EVENT_TRIGGERS size instead of
SCSI_TRIGGERS size but fortunately both size are 84 bytes so it doesn't
affect runtime.
These days the preferred style is to just say sizeof(object) instead of
sizeof(type) so I have updated the function to the latest style as well.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
