Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tpm: fix the missing .owner in tpm_bios_measurements_ops

This patch fixes the missing .owner field in
tpm_bios_measurements_ops definition.

Suggested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>

authored by

Nayna Jain and committed by
Jarkko Sakkinen
f40e68ef 748935ee

+1
+1
drivers/char/tpm/tpm_eventlog.c
··· 349 349 } 350 350 351 351 static const struct file_operations tpm_bios_measurements_ops = { 352 + .owner = THIS_MODULE, 352 353 .open = tpm_bios_measurements_open, 353 354 .read = seq_read, 354 355 .llseek = seq_lseek,