From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AF6BC433DF for ; Sat, 10 Oct 2020 02:07:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 11F5420732 for ; Sat, 10 Oct 2020 02:07:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CsGZ68Oe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11F5420732 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=L4siNbm5GO88v9tjOquFY2dwPSkVKbgtAEXtdxwyzEM=; b=CsGZ68Oe2QSb9lkkM/OfGlosrD poGZ1HWBx2ahJ4I3NLSN4hItam7aoTptViHoPn7MvRjkLBOqXgh8U0dsCTM13rngRWpevkHSC6tm3 2TyCoOR4I9FbubdafznmB0AI2vw92YsNhu9nLAW3OmvWfiS+zPgwjmspU1kU5WWq8wcHKQyU0gAe3 yC/Y99cO6iZDPuuQPad97UyiKYFgv+0niBG+QwcJ8pyz+d2hMTuKzeHeKdMLE7lKKCoNpkHOqCnti c+hZ++zp1zrUtjRIX9dGhd/WxAcFPbFPWxn4Rfqkt2XkJojdbLjhdZbeGazK/I0/XAqocS6b1Ig3y 7eOmNFUQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kR4H5-00055C-PX; Sat, 10 Oct 2020 02:06:19 +0000 Received: from szxga07-in.huawei.com ([45.249.212.35] helo=huawei.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kR4H2-000547-Cv for linux-arm-kernel@lists.infradead.org; Sat, 10 Oct 2020 02:06:17 +0000 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 16E6E3CE7B6A12A113A0; Sat, 10 Oct 2020 10:05:59 +0800 (CST) Received: from huawei.com (10.90.53.225) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.487.0; Sat, 10 Oct 2020 10:05:50 +0800 From: Ye Bin To: , , , , , , , Subject: [PATCH] crypto: testmgr - Fix format argument warning Date: Sat, 10 Oct 2020 10:16:37 +0800 Message-ID: <20201010021637.112091-1-yebin10@huawei.com> X-Mailer: git-send-email 2.16.2.dirty MIME-Version: 1.0 X-Originating-IP: [10.90.53.225] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201009_220616_702890_E535AB56 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ye Bin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix follow warning: [crypto/testmgr.c:2317]: (warning) %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. Reported-by: Hulk Robot Signed-off-by: Ye Bin --- crypto/testmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index a64a639eddfa..aefa4b6b8d78 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2315,7 +2315,7 @@ static void generate_random_aead_testvec(struct aead_request *req, if (vec->setkey_error == 0 && vec->setauthsize_error == 0) generate_aead_message(req, suite, vec, prefer_inauthentic); snprintf(name, max_namelen, - "\"random: alen=%u plen=%u authsize=%u klen=%u novrfy=%d\"", + "\"random: alen=%u plen=%u authsize=%u klen=%u novrfy=%u\"", vec->alen, vec->plen, authsize, vec->klen, vec->novrfy); } -- 2.16.2.dirty _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel