aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <[email protected]>2017-11-05 11:16:26 +0000
committerJarkko Sakkinen <[email protected]>2018-01-08 10:58:36 +0000
commitaad887f6641145fec2a801da2ce4ed36cf99c6a5 (patch)
tree80d2e496024240dbe3ee26cb43b955696a312013 /scripts/gcc-plugins/cyc_complexity_plugin.c
parenttpm: parse TPM event logs based on EFI table (diff)
downloadkernel-aad887f6641145fec2a801da2ce4ed36cf99c6a5.tar.gz
kernel-aad887f6641145fec2a801da2ce4ed36cf99c6a5.zip
tpm: use struct tpm_chip for tpm_chip_find_get()
Device number (the character device index) is not a stable identifier for a TPM chip. That is the reason why every call site passes TPM_ANY_NUM to tpm_chip_find_get(). This commit changes the API in a way that instead a struct tpm_chip instance is given and NULL means the default chip. In addition, this commit refines the documentation to be up to date with the implementation. Suggested-by: Jason Gunthorpe <[email protected]> (@chip_num -> @chip part) Signed-off-by: Jarkko Sakkinen <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Tested-by: PrasannaKumar Muralidharan <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions