Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp582832ima; Fri, 26 Oct 2018 03:20:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5cpQP7yNVo//KZUYzmYEYrgjQb+r4HtlJ1zUc6jCCmCmmUe/hWHemDbO0zUcCfVm34N+j3s X-Received: by 2002:a63:a064:: with SMTP id u36mr2927348pgn.145.1540549244414; Fri, 26 Oct 2018 03:20:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540549244; cv=none; d=google.com; s=arc-20160816; b=n6XU8S9Ug1chZXK7WfmtvUDeZl7JSFH/0hePal3EeTkY4KwJV0SGtQzymfDgw3cm1h sgeW7mme0KwfhUS8x94CaXbp0BHnLA1u9iMcZeWXB904pfCMXowAunMscX8htFxZfh6I CUqLheLUNRTaZzkrdIFb0ykFqkGRNjH8vNxP6f3sCr/bjHS+WrqKHLcdNKl0I5rTg72P HBIrMCqQuiBn0Afm0d2+bJkbhDJ5fx8dJR3Lg2TNDpD2NX41OGoNQBU4n7QsIBFOVZSd tzGaO0MY4Pno1a/59aHrYPXpJlQ+ZPzMrxhO0fQaUZjSKB3jPCoXFDHh2dbOena9CdYf qujQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=TP5/KV4uQJX5M+lv7x4joWh2h+Ml0ZGtwWoHdgOKnGo=; b=hwEjUqv3tP+3qHaC3wMeMge6JMXZORu2MMzuBfdwOKWhn4DnrZjcT2w08VaPXLcXaN XAQraDuDcqOgQwufWJ8BQeL3B5Dd1zJ1qcoSzaj/ALOtdDWdygVvgFge6HjlPDGdDbOb 3g9zMLR6mRhb6w3BMs+TuYbjLwfdKX/ea2/yqifyWU7ZRNUVX3CmDsmPy+kaUIuctkB1 84yueaHU2l4ijbNYD6bM5gc/eaxsp0elbuXe+xzVhbEqxFDS0jPPvn/Vn2MxiVNBX236 VYOaQU73UCtDVznMTql0KF5ToLnHmiWVBzpyq1TrxYWia2EkZrq5Eoa9xwMUgkvD1DJW YCLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d124-v6si10948794pfc.249.2018.10.26.03.20.28; Fri, 26 Oct 2018 03:20:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbeJZS4h (ORCPT + 99 others); Fri, 26 Oct 2018 14:56:37 -0400 Received: from mga06.intel.com ([134.134.136.31]:4614 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726128AbeJZS4h (ORCPT ); Fri, 26 Oct 2018 14:56:37 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Oct 2018 03:20:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,427,1534834800"; d="scan'208";a="91412711" Received: from twinkler-lnx.jer.intel.com ([10.12.91.48]) by FMSMGA003.fm.intel.com with ESMTP; 26 Oct 2018 03:20:04 -0700 From: Tomas Winkler To: Jarkko Sakkinen , Jason Gunthorpe Cc: Nayna Jain , Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Tomas Winkler Subject: [PATCH v2] tpm: fix kdoc for tpm2_flush_context_cmd() Date: Fri, 26 Oct 2018 13:15:58 +0300 Message-Id: <20181026101558.11753-1-tomas.winkler@intel.com> X-Mailer: git-send-email 2.14.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kdoc for tpm2_flush_context_cmd() was off. Fixes: 9aa36b399a50 ("tpm: export tpm2_flush_context_cmd")' Signed-off-by: Tomas Winkler --- V2: drop 'commit' from Fixes: drivers/char/tpm/tpm2-cmd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/char/tpm/tpm2-cmd.c b/drivers/char/tpm/tpm2-cmd.c index ae86fb0218ab..ba94dd5f11a4 100644 --- a/drivers/char/tpm/tpm2-cmd.c +++ b/drivers/char/tpm/tpm2-cmd.c @@ -343,10 +343,9 @@ int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max) /** * tpm2_flush_context_cmd() - execute a TPM2_FlushContext command * @chip: TPM chip to use - * @payload: the key data in clear and encrypted form - * @options: authentication values and other options + * @handle: context handle + * @flags: tpm transmit flags - bitmap * - * Return: same as with tpm_transmit_cmd */ void tpm2_flush_context_cmd(struct tpm_chip *chip, u32 handle, unsigned int flags) -- 2.14.5