Skip to content

Commit

Permalink
tpm: fix the missing .owner in tpm_bios_measurements_ops
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nayna Jain authored and Jarkko Sakkinen committed Nov 27, 2016
1 parent 748935e commit f40e68e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/tpm/tpm_eventlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f40e68e

Please sign in to comment.