diff options
author | Bart Van Assche <bvanassche@acm.org> | 2021-10-20 14:40:24 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-26 23:24:50 -0400 |
commit | 1ea7d8026300f72344bb574a12667f9543f73348 (patch) | |
tree | 5f67c6a24671ff0bf59d4a7d338b10f5ac7ae9b8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9a868c8ad3f467fe3487e3d96fc0e2f3c90f34f9 (diff) |
scsi: ufs: core: Micro-optimize ufshcd_map_sg()
Replace two cpu_to_le32() calls by a single cpu_to_le64() call.
Additionally, issue a warning if the length of an scatter gather list
element exceeds what is allowed by the UFSHCI specification.
Link: https://lore.kernel.org/r/20211020214024.2007615-11-bvanassche@acm.org
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions