Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2238576rwd; Tue, 13 Jun 2023 23:15:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4PwMKrkmRfCZrMMmDUrmMCNjGkptrHyO9N+4qBu0fL88T4Hgdt7kHqWHvBbipHyRIO9TvP X-Received: by 2002:a17:903:230f:b0:1b3:dc9f:2a71 with SMTP id d15-20020a170903230f00b001b3dc9f2a71mr5796717plh.41.1686723315581; Tue, 13 Jun 2023 23:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686723315; cv=none; d=google.com; s=arc-20160816; b=P22m+gr7ui01/uuY5Qm5aCEyLzXKhWob70MR1oo7Eb3mtj83Ys6qVLOUNUW2iNd2bP kILczy1JJUP54b3ii9oAwR/A3MJzG8GjpKB//LJrg0ouKeQbnbjejiv4yDn2QHDEd7fs n1gKaqswqsVPvv5V/qh3hUFT3ipYt8pHpcAwOrjpFMGVCorQ7Zle5ID2qGKkhmLI1BgM XdFCG5Prhs1HfLE7Bd6IonjBl3idNQk1jebHbaEzuTTaNUTSS6YUapmoVCMoDCYxoKm0 9SSpSpi07kJVBPm//zmeUUqjtlhOZY69mt051J2QwezWYZQZh6v5+0MAJj/EjjY7PE43 TCvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=nkzbI9w5w75YMPYnu7KNQw94ehdbPB0iQIWc5E+wVFk=; b=H72Xlcxs/rRcH7etzF+kRJ82VnIx8M8CQiQueCXaQZ/RMNox03guPZETK5VS5JkKzI XhosHehq432YjhaDxtRRZzDEW1f4BnLz6CjwZ8AQMgfOLsahUsj+FVWHohE5e9y/vKLd HRGBSD8LOQkuUPTP76dvuQDLXv3sTpsQWGB0FOQ4nyZrVlInRlx0SooH25dLz7VlmpVf InnkiQFUfFZAELeGn4KwKr4SJ2Bdgt5AG5lpubTzRznzFAXCI3ZYWiHDLLllk66Q3GZp 7F6QOtvs3h/wGOwt/oVOp3LGlzEa0Purb6FaaTTArMPTAD/tjmmbuJZdwflWtveFYtWM CNdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VTW87qqU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 m7-20020a170902db0700b001a95babe3c0si10915583plx.371.2023.06.13.23.15.03; Tue, 13 Jun 2023 23:15:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=VTW87qqU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S234048AbjFNFVg (ORCPT + 61 others); Wed, 14 Jun 2023 01:21:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233240AbjFNFVf (ORCPT ); Wed, 14 Jun 2023 01:21:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3E781A3 for ; Tue, 13 Jun 2023 22:21:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 48A89636F6 for ; Wed, 14 Jun 2023 05:21:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE8CCC433C8; Wed, 14 Jun 2023 05:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686720092; bh=YFl7JkAlPByIvT7viYOGAQdr74o93Wn+L4fRDjxXg9k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=VTW87qqUKlgWmBWoWzLvQlMCANscJ8CmWl/HSqkyr2lEQOtI75GjKmihADFF+cmOo 6Bb2OnoDNivOVC00Z8KT+FD5j7wSEOZjC9FhhZMtrRyQZq0manej2+IayvNK5jmyS3 TbOtDKRaBundF9J3E6H71fSccNlsjN+eW9u0+WQr4YHMNnKOI1Vp37ajsuaXbn8/zJ fiDh5M736+FRX20laOkdbEcQiuHrcUEwRyMCF9TN8877kfbqePizC2RVoZppfuKtit xG6JP/w+UAg9Z/WcAnDcCCxYGYkZMNoOMm2yodGQaibP9obXiPogBrqtnaybVxJjtt dyci2TS3ieNkA== From: Kalle Valo To: Dmitry Antipov Cc: Ping-Ke Shih , linux-wireless@vger.kernel.org Subject: Re: [PATCH 4/4] [v2] wifi: rtlwifi: simplify LED management References: <20230608095051.116702-4-dmantipov@yandex.ru> <168664510862.24637.10587241603155144086.kvalo@kernel.org> Date: Wed, 14 Jun 2023 08:21:30 +0300 In-Reply-To: (Dmitry Antipov's message of "Tue, 13 Jun 2023 11:36:05 +0300") Message-ID: <87h6rad3fp.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 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-wireless@vger.kernel.org Dmitry Antipov writes: > On 6/13/23 11:31, Kalle Valo wrote: > >> Is there a reason why you are changing error messages to debug messages like here: >> >> - pr_err("switch case %#x not processed\n", >> - pled->ledpin); >> + rtl_dbg(rtlpriv, COMP_ERR, DBG_LOUD, >> + "unknown LED pin %d\n", pin); > > Well, this sounds to be more problem-specific rather than > generic "something unexpected in the switch statement". > >> The commit log mentions nothing about that. > > It seems I have to write more detailed commit message. > Should I resend? We prefer one logical change per patch, so it's better to remove all the pr_err() conversions and resend as v3. And let's just drop the pr_err() conversions, rtlwifi is an old driver and we want to keep changes to that driver to the minimum. rtlw8xxxu, rtw88 and rtw89 are the active Realtek drivers. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches