Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6175942rwd; Wed, 24 May 2023 11:50:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5uMmfAJlol+nI/xudpd9nVnx+L0iRCXHG1pJVBbTRWrTAn0YZR65T6dO194OeOnu9LsEkn X-Received: by 2002:a05:6a00:178c:b0:64d:421c:ae43 with SMTP id s12-20020a056a00178c00b0064d421cae43mr358786pfg.11.1684954218336; Wed, 24 May 2023 11:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684954218; cv=none; d=google.com; s=arc-20160816; b=wY+zPghcbJwSy2qRIl2xtcFFReb49Ig+XBdgFMFd/oZ2QGyb7kwWjrOm0T6f1cGfa0 W/iPnceIKfoDRKiJesT666Ux7HyyWhWOANQfkOuBXEfeuBjLAv0IZtBRpEM2X89dMQhh necyGVC1EQpeKyVhMmV5yRmtnAJGYpBOE0i64Z10M46qBNFFekym6KhqPzblbGdvQVqv VDtoiPhvKP74G5Pokb7bFoM6Rg7/0iLgoN4pxw5HK+1f9H9SecuS1w2E7XDH+OP5L6XX PO0hAXqsdKv9yf0OP30Kov/vXLRjM3Fw88gemXIBwqy03UXkRQU4tF6ANMqF4+bjGmyp z5cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LDQRm84Nc6EHgMBi0uoHQy1EbdvJJMdPPoAechdeEGo=; b=SbeZE64O0tipBqRHZQO3re3sNIrd97TwL0YrACsBwz0M6Ur7jF1qNbZ2YOKdM/GqVy XZ78G+imJkB4OHq0Gdq4HAPFdSrAxENL7c6SoJVWw57x7J0LkC8UM561yAPqN3JlNVeO o9KDxqXQFBIh/mmxAwwEXESoqRqX0sCGiDogZv4lgYjn45uN3fYU5l3tb7M+nRZbOliN AYktIW6ouQxENgtYr/aOgerM3FZG7ZVTlL58YluFn+HCnqfCj7rM2TK1zhxRY15+8xid r53celzOSW1UvKZqWaib1b2mAU2PkdDfI43URcu343UVc5eake2BaM5bLzUMlfarOsDF +Omw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=nD09xgL0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i188-20020a6254c5000000b00643970acd01si1088075pfb.319.2023.05.24.11.50.06; Wed, 24 May 2023 11:50:18 -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=@gmail.com header.s=20221208 header.b=nD09xgL0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236779AbjEXSFs (ORCPT + 99 others); Wed, 24 May 2023 14:05:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236698AbjEXSFh (ORCPT ); Wed, 24 May 2023 14:05:37 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61862122; Wed, 24 May 2023 11:05:34 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3f50020e0f8so870315e9.0; Wed, 24 May 2023 11:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684951533; x=1687543533; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=LDQRm84Nc6EHgMBi0uoHQy1EbdvJJMdPPoAechdeEGo=; b=nD09xgL0gBt2IymT9DkM4m7qDWcmXP3uDtqP3YJzoNh8Pk0DQgfkOMk2qngHkshflR iyt/ECrVsP2sibcq9WO91XiF5KHB74UYtCcuy9FgAlobhvYf6awu6ao/lhvzEPYqpLkd azxQB+yKyrJinI8QoEAcfcHjWahSH5cAaAU1h4FTHDIXmq9A24M2gzmNKGOC/1RDC+Rs 1rc8Td64+BttaN36GwSaNF6Ii4INn8A8Sp1e30fzDkp0hBAepKgcU3W2SqLFtRwDs+br jCusXj6YBdtlj5dAEurPvFw3Tp9QT0zrJWu34eC+zcXTwsmH2YSHMSoXPSip/jmvy8S5 kO1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684951533; x=1687543533; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LDQRm84Nc6EHgMBi0uoHQy1EbdvJJMdPPoAechdeEGo=; b=LerCBwOag6zFqmGMQgDJ4CudzdFVH0kIQWHHMtP9HhUZjtuRZevfwxnAqlrJuKk+N1 WOnNYpAhrbzOa6c28SqfA43LEPwCC51wCns9G23NDtq8W1htGzQT8ObioKClqpwwLgBh nknFGQhtdm8quZalNDLXZd/EG5rDC7feZ5AMmrF9B10OnuJf1IJ0ZzUAyenPJqq8zZcR z4AfYW1c1gMd215KcV1oEI81M4RFBb/cCdqaYoBTjPw/oWDoR2WLTCqztOk7r8dMUicI /tksGkwpwiyJIh8qG2OrsBr+NmAj9cxChE/tdowoWDBIS1N/V3MHSIoDYVSBM1g+8q/w F7qg== X-Gm-Message-State: AC+VfDxj13QgHEPI5jnSZ7UD9M3DX4DYy5eMSp/cTzVBf6Ybkvo+bind ydfshSwkVaxnd6qMJobwHjg= X-Received: by 2002:a05:6000:1049:b0:307:c0c4:1094 with SMTP id c9-20020a056000104900b00307c0c41094mr88713wrx.34.1684951532706; Wed, 24 May 2023 11:05:32 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id w6-20020a5d6086000000b003064600cff9sm15197460wrt.38.2023.05.24.11.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 May 2023 11:05:32 -0700 (PDT) Date: Wed, 24 May 2023 21:05:29 +0300 From: Vladimir Oltean To: arinc9.unal@gmail.com 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 , =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , 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 Subject: Re: [PATCH net-next 09/30] net: dsa: mt7530: empty default case on mt7530_setup_port5() Message-ID: <20230524180529.y7vl5mb4rn4vwdhh@skbuf> References: <20230522121532.86610-1-arinc.unal@arinc9.com> <20230522121532.86610-10-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230522121532.86610-10-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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 */ > + break; > }