Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp92369pxp; Wed, 16 Mar 2022 00:52:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPxMrUTORH2F9RGqugBKpHGI8J1y9oLHMQ7IiZhkI6vxiPh0AhVkhNzUt/60t12Ep0o/QD X-Received: by 2002:a17:907:da1:b0:6db:8e8e:a04 with SMTP id go33-20020a1709070da100b006db8e8e0a04mr22601794ejc.285.1647417154657; Wed, 16 Mar 2022 00:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647417154; cv=none; d=google.com; s=arc-20160816; b=X8X3fFKnmgktkuLegXHBRONt/+er/JwnoakhJR0StFbZbPD45rhC2fdLcQv8db7/kS FfSA7KyZv9OYENY6VRooZNgIz1piuGJQmEJ+EKu2DXP2ck7/4V1JMCpy2+DEnHtcg/dP trOw0NlngWLTGQMY5at7WrOpFa8uAc/+lspRqa68Tt54kjdSlgDs2T+iPiAxMTe8i+kF G/Fr1pT29BqY+biluvkEaQfrOvS/64di6qw88445k2wQY43/7IR3znCGnTpdO7lh8wDQ we2CC83ABPRHjSmpkGhrDE/fpv3QaAfNbcKlTrwuv+HP5BPkCdU6CB/G2c2WohohKU/C 6xhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=MK5I+/itSTNWIRjGD4Y8tr8Io+D1bWEX+tZcsLTHBy0=; b=eml+u3pTDL3UoPkhXjtkao++LypfZ+LblhHt2kRxUJqwJZHB80Pzg4e6nAg2INCxlV KdoZrQEloJhvJNwX1Aao7DfCDF0IXtvRTRkRGDOPYQAYAgIOV2uT6OZi40rs0Upe8xet O1YG8ileCl7sp3VMZukmUxlapfUVtCz7e+gBfPJEfoaRBJ0d5GIRwO5t1ZzA6v1P7fm6 OOgmHDRaYpM3WZ1vhio87O+4CiKFSXDgPevqmAyNs8Igkv33Gd2OS1v4kXB5Bt4oD2Ny 1SnVIscp8BdKTiC09ZFXg7Ddm366RZOsl+CykMwznhWZkXhoZNz0wRqWmqdwAtTtdnCf B25w== 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 l17-20020a170906795100b006db166ef563si827146ejo.16.2022.03.16.00.52.08; Wed, 16 Mar 2022 00:52:34 -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 S1346583AbiCOJ0c (ORCPT + 99 others); Tue, 15 Mar 2022 05:26:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346576AbiCOJ0b (ORCPT ); Tue, 15 Mar 2022 05:26:31 -0400 Received: from mail.meizu.com (edge05.meizu.com [157.122.146.251]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6921D369C4; Tue, 15 Mar 2022 02:25:19 -0700 (PDT) Received: from IT-EXMB-1-125.meizu.com (172.16.1.125) by mz-mail12.meizu.com (172.16.1.108) with Microsoft SMTP Server (TLS) id 14.3.487.0; Tue, 15 Mar 2022 17:25:17 +0800 Received: from IT-EXMB-1-125.meizu.com (172.16.1.125) by IT-EXMB-1-125.meizu.com (172.16.1.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Tue, 15 Mar 2022 17:25:17 +0800 Received: from IT-EXMB-1-125.meizu.com ([fe80::7481:7d92:3801:4575]) by IT-EXMB-1-125.meizu.com ([fe80::7481:7d92:3801:4575%3]) with mapi id 15.01.2308.014; Tue, 15 Mar 2022 17:25:17 +0800 From: =?gb2312?B?sNe6xs7E?= To: Heiko Carstens CC: "freude@linux.ibm.com" , "gor@linux.ibm.com" , "agordeev@linux.ibm.com" , "linux-s390@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?tPC4tDogW1BBVENIIHYyXSBzMzkwOiBjcnlwdG86IFVzZSBtaW4oKSBpbnN0?= =?gb2312?Q?ead_of_doing_it_manually?= Thread-Topic: [PATCH v2] s390: crypto: Use min() instead of doing it manually Thread-Index: AQHYOELSbEbPEn7rqU+2mKCQuuOLcqy/o+WAgACIhJI= Date: Tue, 15 Mar 2022 09:25:17 +0000 Message-ID: <7842a724b1df489abf4b19ea61604d07@meizu.com> References: <1647331264-13853-1-git-send-email-baihaowen@meizu.com>, In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.137.70] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, SPF_HELO_NONE,SPF_SOFTFAIL,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 aGksIEhlaWtvDQoNClRoYW5rIHlvdSBmb3IgeW91ciByZXBseSBhbmQgc3VnZ2VzdGlvbi4NCl9f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCreivP7IyzogSGVpa28gQ2Fy c3RlbnMgPGhj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