Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp554883rwd; Thu, 25 May 2023 00:03:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BM5Za5WM7Zkob3ckbSw3TCpa//fa4zCltCMRZajetV9R7zXdqLk11rvEoNUWyV6jSsbqD X-Received: by 2002:a17:902:bb8f:b0:1ad:dac0:5125 with SMTP id m15-20020a170902bb8f00b001addac05125mr628478pls.11.1684998213448; Thu, 25 May 2023 00:03:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684998213; cv=pass; d=google.com; s=arc-20160816; b=v9bcZkKbQuB3439yge0NrFuFrOsAICG672Nf6Ix3m++gDC2q+TfF3jFmsHYTTCQuMb 83Z0fzakLaCDfeCA/Md+gykbyqfpfo4DIdOzyJoJ1KovdSCupYt5CCU6kXGvOT1InZZC SQugmFQMJ1Jv97hCD+JZtq8gKWUETTzJtMD2fybzW6H+jrrIG2ysjTCpm2WCvYsupIhC RdPNIovKrGuIr9Vjpj4//tU4d4heG3JtCiTLKdD8EUXCnDooctdnBWeCnpKbBR2RQ85q 5b2/uiUYc7VKGUV/aHA+Rb8wFbqF4TuX6njShiw9wgnnnOqJNhZO7K5R+OS6JIis40CZ fBOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MwhSXtCM+amK18ZJFZTkmGQCxpMOw/Tgzf9+hmAj/30=; b=lc5g9uccc8ckSqmU6NOmUefJ8eAYWc0611mQ7vkgH6HfdgB4eSQyF8ZEaz9NEqzTeQ tTVyLQCwV0k+BOpVwBDBJIOPcHNyP9WTcMoy/UTPL11T3h4IqBgx1L9p+c08f7NbPudq eRKGTPXslLE1UpQ2IFCxaNHanrMNh6fASretJ/JhpqrDc10WNxYu8MIOJh3h5l0dS1o6 RyTVOWFjBf6W/P9vKIfmf/mVao5Wxv4q3XirVoqqakATM6zFO8MyzYGUncjPd4HvzZW3 O8/ZxLEUjRjOm39RFc/MFVYz8q+fMpjhhc31Ao0lLOvNw1DRril4TPbloklLcJEi5eHo I3ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=SGz24cTw; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.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 t15-20020a170902e84f00b001a64b603189si903757plg.100.2023.05.25.00.03.21; Thu, 25 May 2023 00:03:33 -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=@arinc9.com header.s=zmail header.b=SGz24cTw; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.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 S238707AbjEYGwD (ORCPT + 99 others); Thu, 25 May 2023 02:52:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjEYGwB (ORCPT ); Thu, 25 May 2023 02:52:01 -0400 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 079FCC0; Wed, 24 May 2023 23:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684997485; cv=none; d=zohomail.com; s=zohoarc; b=afXrsYFLi41jwH+s0sSNtF7dOOG2lVdLUQ3kHMkoesgovweqDtIoPk/C0X29+I4yJTos543ocNwD32phJqChF1rv7yyDdWV2jCe6bIGMj+X8I1V5htoWpeGvBcDPlvpMQ+QR/FLr/kV4wF9iczHez+2neAokZlDMhfSKH1dUZms= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684997485; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=MwhSXtCM+amK18ZJFZTkmGQCxpMOw/Tgzf9+hmAj/30=; b=QxA7JTqOzrVF4E/qxiRKNJ+oobC01mwj8p9jLJcdVC5fX8AOfbZ7EJpok3+NTUCfR4Hd00RGeaMANRDdp82EmdaOZV14Y2w7krjkl45MMoAOA7SIOQPGlkGNnc8QMeiTzeyXYF3+xSXJOZiA1u5h4NlskuadK2Qh15Lv2FxG3Go= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1684997485; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=MwhSXtCM+amK18ZJFZTkmGQCxpMOw/Tgzf9+hmAj/30=; b=SGz24cTwAJTIyieCXy3a7XPVAxp7Cywv4ErQW6cqg2mcv3UulKBRJTBU5ke9V//I wVJxXTSiUODqhBGMT8IdnzyZJAbHFW7LcyvqqQoU/vSjIIMB57GUeZDTOb17jN4wAdg zLamxWzs07PapbPkEIw6eURALUYXCyJOelzNR3h8= Received: from [10.10.10.217] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 1684997484418555.9448204414057; Wed, 24 May 2023 23:51:24 -0700 (PDT) Message-ID: <0777fa04-7dd7-7f67-2a8b-f855f5aeba82@arinc9.com> Date: Thu, 25 May 2023 09:51:12 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH net-next 09/30] net: dsa: mt7530: empty default case on mt7530_setup_port5() Content-Language: en-US To: Vladimir Oltean Cc: Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-10-arinc.unal@arinc9.com> <20230524180529.y7vl5mb4rn4vwdhh@skbuf> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20230524180529.y7vl5mb4rn4vwdhh@skbuf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 24.05.2023 21:05, Vladimir Oltean wrote: > On Mon, May 22, 2023 at 03:15:11PM +0300, arinc9.unal@gmail.com wrote: >> default: >> - dev_err(ds->dev, "Unsupported p5_intf_sel %d\n", >> - priv->p5_intf_sel); >> - goto unlock_exit; > > You could have probably left a comment though (that doesn't cost in > terms of compiled code): > > /* We never call mt7530_setup_port5() with P5_DISABLED */ I remove P5_DISABLED with later patches so I don't see a reason to add this then remove it on the same patch series. Arınç