summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVladis Dronov <vdronov@redhat.com>2022-04-13 17:16:05 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-04-21 12:53:54 +0300
commit753d6770879894de10d74b437ab99ea380f1cad7 (patch)
tree44ceb4592cdbcbf199d29b03dcd96cf776cd955b /tools/perf/scripts/python/export-to-postgresql.py
parent5a6477eaf402a2fa48c66f1dae1fbd9f0a5f096a (diff)
downloadlinux-753d6770879894de10d74b437ab99ea380f1cad7.tar.xz
hwrng: cn10k - Optimize cn10k_rng_read()
This function assumes that sizeof(void) is 1 and arithmetic works for void pointers. This is a GNU C extention and may not work with other compilers. Change this by using an u8 pointer. Also move cn10k_read_trng() out of a loop thus saving some cycles. Fixes: 38e9791a0209 ("hwrng: cn10k - Add random number generator support") Signed-off-by: Vladis Dronov <vdronov@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions