mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 11:48:58 -04:00
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>
This commit is contained in:
committed by
Jarkko Sakkinen
parent
748935eeb7
commit
f40e68ef4a
@@ -349,6 +349,7 @@ static int tpm_bios_measurements_open(struct inode *inode,
|
||||
}
|
||||
|
||||
static const struct file_operations tpm_bios_measurements_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = tpm_bios_measurements_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
|
||||
Reference in New Issue
Block a user