Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1201655imk; Sun, 3 Jul 2022 20:26:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uIbIakXHC26/c540k3UfAQy1VeBmNldxXPqHSJZqmZh50Kc31RqcDm4s/pgUmVhtPUu+2b X-Received: by 2002:aa7:d38e:0:b0:435:6785:66d1 with SMTP id x14-20020aa7d38e000000b00435678566d1mr35534598edq.393.1656905176346; Sun, 03 Jul 2022 20:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656905176; cv=none; d=google.com; s=arc-20160816; b=CPYyMgZntJT+Z/7L7HjxVjQ0gUwoPPTFBe1qaHbGsIjFFQP3Ua78nRTuQ63x6vwYdu KqsgQPV9w1Sk4uSkDGNGbhoZpB/2GzrzkT/wClAr5LJGNuBc7hryfuRG1rgMhJseFF1A xDIK2nd+D+VMAMuieAlfcKeA7bP9QLFkrGtYYuodJloVcUI5VMrDt2gt5lIdSXjRwl2+ 6FcLGnyFoQpd/I9GdkbTKANiDXTxIQldhd9zD2x0jTXHA3WoSLmxeYhDluPd5oiOnuVD 2m6+0akkn3IGdmwJwf2wBL8lPVVHh39iQfKqIcsEXcblNC0h5Himlww31J8KsuGO8271 1XxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=L462XVc1JJozJ/i7YXmTtCA6I2HWmnG06fuCvMTL+zU=; b=vsQ+DViemrZ6Pa5mk3GL5PYINufl2Sf+aSpJhXV3KPQcbhr1lzYFNvRMwhafBnKdv/ NEDGSGOpEYXGvqtIq9T7H5KaFYMKcne0ogHriisPU5ULvEhxZgjIp2NCNq9zSsMBEn8U lnTrMQLQ130o/6lGYEQ6Ib2zN2/5pNKvCgvnSnw0Benqu41uogHPZCR9TPmtnLjcntDf 5hp5bwSODntaDtPD++Ogw+POuctY1joFOuLmXC0nXFbG25yJHppiWxB95rWJcY3bvc/b inSCbkMzP+brRihJNt7h5XmW6IjSnQmzP1C6dm7xU9NuaLEBaSScjUjOaWi26tfn5mk3 NaDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a17090658c300b00711d06c0e97si18607778ejs.521.2022.07.03.20.25.45; Sun, 03 Jul 2022 20:26:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230097AbiGDC41 (ORCPT + 99 others); Sun, 3 Jul 2022 22:56:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbiGDC4Z (ORCPT ); Sun, 3 Jul 2022 22:56:25 -0400 Received: from mail.nfschina.com (unknown [IPv6:2400:dd01:100f:2:72e2:84ff:fe10:5f45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2B22A2C3; Sun, 3 Jul 2022 19:56:25 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id 754061E80CCF; Mon, 4 Jul 2022 10:54:31 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zgr4wSerIevz; Mon, 4 Jul 2022 10:54:28 +0800 (CST) Received: from node1.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id C33531E80C90; Mon, 4 Jul 2022 10:54:28 +0800 (CST) From: Li zeming To: dhowells@redhat.com, jarkko@kernel.org, jmorris@namei.org, serge@hallyn.com Cc: keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@nfschina.com, Li zeming Subject: [PATCH] keys/keyring: Fix typo in string Date: Mon, 4 Jul 2022 10:56:10 +0800 Message-Id: <20220704025610.3834-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the repeated ',' from string Signed-off-by: Li zeming --- security/keys/keyring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/keys/keyring.c b/security/keys/keyring.c index 5e6a90760753..c6c47ca9b57d 100644 --- a/security/keys/keyring.c +++ b/security/keys/keyring.c @@ -460,7 +460,7 @@ static int keyring_read_iterator(const void *object, void *data) struct keyring_read_iterator_context *ctx = data; const struct key *key = keyring_ptr_to_key(object); - kenter("{%s,%d},,{%zu/%zu}", + kenter("{%s,%d},{%zu/%zu}", key->type->name, key->serial, ctx->count, ctx->buflen); if (ctx->count >= ctx->buflen) @@ -484,7 +484,7 @@ static long keyring_read(const struct key *keyring, struct keyring_read_iterator_context ctx; long ret; - kenter("{%d},,%zu", key_serial(keyring), buflen); + kenter("{%d},%zu", key_serial(keyring), buflen); if (buflen & (sizeof(key_serial_t) - 1)) return -EINVAL; -- 2.18.2