Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3314456iob; Mon, 16 May 2022 19:06:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzR1/ECv4jEm0Mt3Fk3hWT5PyiVuVZrJJiOuExhVcXFLCDwP3o1aEre+0xp4BeiGopZtVE X-Received: by 2002:a63:1c09:0:b0:3db:55de:5de with SMTP id c9-20020a631c09000000b003db55de05demr17932061pgc.149.1652753170752; Mon, 16 May 2022 19:06:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652753170; cv=none; d=google.com; s=arc-20160816; b=JzFUKigGWH0z0H406Zmqh+El8MoVpWWmwctWO/2pcHR3RbEeU1cSdEWLzTF6oYAfnQ tIORptEUXDgD5wcVm2uB2gveC71Z6nZ4o9J/PqTbvaA+SPpcrrOrQBWOeXgI4nKgdICn OQr4kuOVEGQyguObWaWODcieQULthJzjFZPpszrM2KggyjNHibUaUnKFzfkkJ7iB51vX CYThVB25GrRNh0ApdOQNUTK/XlNBaYh/ZEPnJO3JjmncrbWrh9zkENvAapxY/bjfz/Ne 1ZjnDAqoPNuM6nE4wA6TSz5A4/lq5VJMBcnbBTcZAq+LFkaKSV8duBLHPGANSm8rtdqU T6YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=erC+1cSufD5H3hs955mIoL6mkBdN4wsROfE7XsFpKIk=; b=znkpawaXhBWzGxj7rPy35eSex1DDkQ1rqDbatdtulQdp0WSCV0yRVEatt/9VP2CiGs CxEyq2jUwVqH56Kb6hLoRw8k2vAI5IpjGyESn+AgOr8kF5CcZszu8QSA7+d8S8bJ1WEr 6iVos0W3tGc+SVVncPJeoTHriGP28wUmYvriUfj5lxzVEwPEg/iCUldN+XrL2At4ybXK mxCgJSZh0jiNRRnnwmh4W3JSu38E9CmV80d/bPwTfYflo/enakRXTdpr5/n885V9F2Go k0QTmr4Zkh9Al8tUeKxydVgN86KeJmT1vcxw8BJ7Je8PN8ayMLK31iOGqE22YcAj9ezs /gog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gCnPCryU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a170902d71600b00153b2d165e8si13418358ply.496.2022.05.16.19.05.57; Mon, 16 May 2022 19:06:10 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gCnPCryU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343985AbiEPQ6g (ORCPT + 99 others); Mon, 16 May 2022 12:58:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344145AbiEPQ6Q (ORCPT ); Mon, 16 May 2022 12:58:16 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69B2F2A721; Mon, 16 May 2022 09:56:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id B5623CE1715; Mon, 16 May 2022 16:56:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 488E4C385AA; Mon, 16 May 2022 16:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652720210; bh=7LDkU1QG3vKPlm+RwVOsAsHB0Xs2kYOwv5HCE8k9Ar0=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=gCnPCryUpGddOoqXzIOq4Kuvunuf9GDht5uqYOu345QySBHjYjj3GN6VJDeNDB4tc yF9RXK6nW1pjeUqMSmeLaaEBwUF3piJSStpYIjPIsL1T3PygwSgKqq7plW1IX/5uLV ItFDVY0ajXAkQdCNvY1Ip0bgJxPLevf9ra4W1SvzJWjy/E5DU5aLo2axtNWD4A2/87 i9wOvURYCMBuJsqmIPGlArnfhZO5ntNgpYXMM8PXgyH90UBmAn5meJ1jtB3cdTU+D+ zQy8ojiSXcGs8k5R4vyWl+h9NIbDumlj8Hn7Yqo4ys9GurSW8M3NXKQU6lTmB0OkN4 BIhUbnuSifp3Q== From: Mark Brown To: guozhengkui@vivo.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: zhengkui_guo@outlook.com In-Reply-To: <20220513130333.58379-1-guozhengkui@vivo.com> References: <20220513130333.58379-1-guozhengkui@vivo.com> Subject: Re: [PATCH] drivers: spi: spi-au1550: replace ternary operator with min() Message-Id: <165272020902.601738.18027494295826342656.b4-ty@kernel.org> Date: Mon, 16 May 2022 17:56:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Fri, 13 May 2022 21:03:33 +0800, Guo Zhengkui wrote: > Fix the following coccicheck warnings: > > drivers/spi/spi-au1550.c:408:21-22: WARNING opportunity for min() > drivers/spi/spi-au1550.c:542:21-22: WARNING opportunity for min() > > min() macro is defined in include/linux/minmax.h. It avoids multiple > evaluations of the arguments when non-constant and performs strict > type-checking. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] drivers: spi: spi-au1550: replace ternary operator with min() commit: dcc6394db3c8cf6c1d4077a288e6967c4f0a4e43 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark