Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965022AbcKNWWM (ORCPT ); Mon, 14 Nov 2016 17:22:12 -0500 Received: from mga11.intel.com ([192.55.52.93]:28545 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964933AbcKNWWL (ORCPT ); Mon, 14 Nov 2016 17:22:11 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,640,1473145200"; d="scan'208";a="30965175" Date: Mon, 14 Nov 2016 14:22:09 -0800 From: Jarkko Sakkinen To: Nayna Jain Cc: tpmdd-devel@lists.sourceforge.net, peterhuewe@gmx.de, tpmdd@selhorst.net, jgunthorpe@obsidianresearch.com, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH v6 6/9] tpm: fix the missing .owner in tpm_bios_measurements_ops Message-ID: <20161114222209.aa4msezaumvifvwh@intel.com> References: <1479117656-12403-1-git-send-email-nayna@linux.vnet.ibm.com> <1479117656-12403-7-git-send-email-nayna@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479117656-12403-7-git-send-email-nayna@linux.vnet.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 30 On Mon, Nov 14, 2016 at 05:00:53AM -0500, Nayna Jain wrote: > This patch fixes the missing .owner field in > tpm_bios_measurements_ops definition. > > Suggested-by: Jason Gunthorpe > Signed-off-by: Nayna Jain Reviewed-by: Jarkko Sakkinen /Jarkko > --- > drivers/char/tpm/tpm_eventlog.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/char/tpm/tpm_eventlog.c b/drivers/char/tpm/tpm_eventlog.c > index f8c42fe..5575ffc 100644 > --- a/drivers/char/tpm/tpm_eventlog.c > +++ b/drivers/char/tpm/tpm_eventlog.c > @@ -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, > -- > 2.5.0 >