Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp5420056rwi; Sun, 23 Oct 2022 05:56:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7qMbw0fVq6YGT3e6r/4IJ2pqzVVBKwIhEXNuVP/DqRPowKlg67hNlvUnyVIjFty2+uRut1 X-Received: by 2002:a17:907:782:b0:740:7120:c6e7 with SMTP id xd2-20020a170907078200b007407120c6e7mr23272039ejb.313.1666529809168; Sun, 23 Oct 2022 05:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666529809; cv=none; d=google.com; s=arc-20160816; b=Opr0T6CrBN2E33t9CQk0NdoG81+HUZyJXndRb1DZkt+MxRPH0R62fzEIUyk2NJHoD8 0DA+2v/0WbxIWwYpFdAtS+IV6K4Ff3UL5NQklP2QETDxYDq2D5KT6J6tVjrydnBq+VnY ue8qw5TVjouDXhwmdt6oLzo5v/QN0B6i9Pgx7n7AL+AcIG/pZG89/wO9uogEdGAbC5ca JIR908PBcVmi0xmUWArhIq0yH+ZUqjyByyJOkJgrZiyTRSbFOsdXCcomW22qf9yyuC7g 04LyCxfgAhM0ciMJ/FoY1haGlyRS/PviRlcdhOJ4LupqKRRNq9NiP/A6Fql8h5yNm+D6 BZ+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=T0nq/F2Ddnd7DW9rtSmMq2uXjCIntmkZgOX2cRxR6+U=; b=NQ/jyZkm4JfoAz6WU6aktoy/U4lbajebmLwblsOWveezBQ1sdhWbej7SQ+Nc6bHeev 8Vwy93DDtwGd8OgQyE+6Ud5Cm8QV1m9Ub+8AajFLIuvOS8WfB5wJNJGUfzCu4pWzCJ23 qBi/fPyyIgkqEausSBQUJV0sFnGpGlZ5BBcryLOhxz5x6EWMCFIScGWGOtpZMpMAQTZX u23E4cYlnmk6aABgvPqUvtNjju2pIbn9YDdH7Lbn11IYZKVyL3rRJcJbi6UofFvigQVz +OSi618JqpDqMWmvvw3LuP66B5oIrwkVHv+dlJll+YXWHoJ7c2u10VWJn50R8iHAjyQH RW0A== 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 nb35-20020a1709071ca300b0078dce6e5cf8si23752393ejc.436.2022.10.23.05.56.23; Sun, 23 Oct 2022 05:56:49 -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 S230268AbiJWMsL (ORCPT + 99 others); Sun, 23 Oct 2022 08:48:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbiJWMsK (ORCPT ); Sun, 23 Oct 2022 08:48:10 -0400 X-Greylist: delayed 118 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 23 Oct 2022 05:48:01 PDT Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5FC6674E03 for ; Sun, 23 Oct 2022 05:48:01 -0700 (PDT) Received: by ajax-webmail-localhost.localdomain (Coremail) ; Sun, 23 Oct 2022 20:44:20 +0800 (GMT+08:00) X-Originating-IP: [182.148.15.254] Date: Sun, 23 Oct 2022 20:44:20 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, farosas@linux.ibm.com, mirq-linux@rere.qmqm.pl, dmitry.osipenko@collabora.com, kda@linux-powerpc.org, naveen.n.rao@linux.vnet.ibm.com Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc: replace ternary operator with min() X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT6.0.1 build 20210329(c53f3fee) Copyright (c) 2002-2022 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <4ebda26c.346.18404df6852.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3AG8lN1Vjk+RoAA--.1470W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQAIB2FEYxtOmwAAsG X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_PBL,RDNS_NONE, T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 Rml4IHRoZSBmb2xsb3dpbmcgY29jY2ljaGVjayB3YXJuaW5nOgoKYXJjaC9wb3dlcnBjL3htb24v eG1vbi5jOjI5ODc6IFdBUk5JTkcgb3Bwb3J0dW5pdHkgZm9yIG1pbigpCmFyY2gvcG93ZXJwYy94 bW9uL3htb24uYzoyNTgzOiBXQVJOSU5HIG9wcG9ydHVua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