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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60592C433F5 for ; Sun, 22 May 2022 12:29:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344255AbiEVM34 (ORCPT ); Sun, 22 May 2022 08:29:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240899AbiEVM3z (ORCPT ); Sun, 22 May 2022 08:29:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EAF63CA65; Sun, 22 May 2022 05:29:55 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 074DF60FC9; Sun, 22 May 2022 12:29:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B385AC385AA; Sun, 22 May 2022 12:29:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653222594; bh=pQa0Xfjqbbh3fqvKaRXDPRrQF3+yVWTnEMtE0LqO6bo=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=RLi6vuckQutx3V0a3ySVeCd85K4m+tV7vG3hnhJ9i/JIJhVC8xXu6B5AKpksJW2dh mc8+fE00D3z3pecaYVxgahx48PY8juKa0uA21WQ0aENItOn63l4j6aTchI8FvAg6YP j3dQXZ7+zgNWy6neF9tYsownHEItAFzaKXvgx9V421oQ4nlAj2xyU+V+Id5zHHx2cp KXyIX0We37G/+aPo1XjwEryab8d1BWOSYxVOOpz/7BowK5eNO4fjG/4LI/cdBjLMjS M+Meu177PJ+ylUR/+615ZioCHplEKnwwyZVbmI4a10J76oSt0sxfxYfeVWxARKQQTZ HKDtB6hZrA6IA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH linux-next v2] net: ath5k: replace ternary operator with min() From: Kalle Valo In-Reply-To: <20220517023923.76989-1-guozhengkui@vivo.com> References: <20220517023923.76989-1-guozhengkui@vivo.com> To: Guo Zhengkui Cc: Jiri Slaby , Nick Kossifidis , Luis Chamberlain , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-wireless@vger.kernel.org (open list:ATHEROS ATH5K WIRELESS DRIVER), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-kernel@vger.kernel.org (open list), zhengkui_guo@outlook.com, Guo Zhengkui User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <165322258657.774.8414386492190244747.kvalo@kernel.org> Date: Sun, 22 May 2022 12:29:51 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Guo Zhengkui wrote: > Fix the following coccicheck warning: > > drivers/net/wireless/ath/ath5k/phy.c:3139:62-63: WARNING > opportunity for min() > > Signed-off-by: Guo Zhengkui > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. b380d2056ebb ath5k: replace ternary operator with min() -- https://patchwork.kernel.org/project/linux-wireless/patch/20220517023923.76989-1-guozhengkui@vivo.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches