Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp893750rwd; Tue, 13 Jun 2023 01:39:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JUdTTbAnnDx3XDJxDGsMEsCeAnTWqMve2++aWi6jpqWssD1sgnVfWFwacV7Fg5hoITXL5 X-Received: by 2002:a17:907:96a8:b0:982:45ca:ac08 with SMTP id hd40-20020a17090796a800b0098245caac08mr195495ejc.8.1686645577913; Tue, 13 Jun 2023 01:39:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686645577; cv=none; d=google.com; s=arc-20160816; b=NuovD6au5QDPV0C9QbuTT/jXdUgRiDiOGgykYRj4LY5aPxk5A3PqZjyrFQKtp6kVw0 XzOsg1oXm6TJjD8g7VADkh9xZxSmBocv/E/KBCyo02yXd/TBxlbIYZuDHODNOofCq7qs RiLom5dL8qZCOdsoN827hkZKAXDaMhdeqfbU0WZl4Vvjq6E0cirCS0m4d1fYsE02M9sq v16dEbCUWdeB16RAS4DSrLkaIytvs6ZKMcUXrc861m8j8iOO7dENpKeNuR19Qnim+bL/ MMVksWxBaac6mvyhIrWMBRtT9o7MrY5AJHW+pantjZfZSJ0jZo1UrytgZvHSrMoJgy2v b/nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BXsZUiqbYTJ4dRCz++Ls2gAS1dQ/c78k5t7UblDw0nA=; b=T3ETEM8HnRslRuZyTe3wtGxFjYJ4eawq9q9kusKpO9r6kpI7QikUW7Dv75tTbwwUOs Yda+CQeP5PsaHP12I+rhPhgXFg9XLb230Tp8Z1G9KIHJ3XKAaTfkTXYZT+sdhSFiU9ns 9Tv5Mz9bSJg4kD88pwQ9q5pJTW5i7zqwCnCHWWKRWH2oRHmzx9hUymswqmB8wxBZ+1WA 5wB/ambunuz4gCgkXWgA7ARc47d2gtCBljKEpXiFz7jxvxotywsMVxbgS0bVCIpcSEGi 2qYkjJTsWcXHqRkKOffft8LmEyJOyAHYfCmnxI2henpl+sGQnKp686cHjQjYNeKq/9fO I2Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=swiZYyzr; 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=yandex.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ci13-20020a170906c34d00b00977d1959346si6564963ejb.6.2023.06.13.01.39.22; Tue, 13 Jun 2023 01:39:37 -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=@yandex.ru header.s=mail header.b=swiZYyzr; 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=yandex.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241485AbjFMIgd (ORCPT + 61 others); Tue, 13 Jun 2023 04:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241452AbjFMIgU (ORCPT ); Tue, 13 Jun 2023 04:36:20 -0400 Received: from forward501a.mail.yandex.net (forward501a.mail.yandex.net [178.154.239.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C83019B4 for ; Tue, 13 Jun 2023 01:36:08 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net [IPv6:2a02:6b8:c15:2c95:0:640:f90:0]) by forward501a.mail.yandex.net (Yandex) with ESMTP id D96695E888; Tue, 13 Jun 2023 11:36:05 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 5aVLrOsDRa60-4RBHTFkq; Tue, 13 Jun 2023 11:36:05 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1686645365; bh=BXsZUiqbYTJ4dRCz++Ls2gAS1dQ/c78k5t7UblDw0nA=; h=From:In-Reply-To:Cc:Date:References:To:Subject:Message-ID; b=swiZYyzrzC/YnyfvsyKKXjAG2Qsmpt2o+xRPbiCd4C8oHZnn1DKBGWUN/ENh7kY6z LykJx3r65D/0DVviUfv6ujRsDqemuq/SLZpl4WkqOkIvzG9qi/1VulJ3sbeCuF/TAF 9wupIKMqSlP2rZ9TG1fXWAzgAI3uIZ8o40xsxhmI= Authentication-Results: mail-nwsmtp-smtp-production-main-67.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: Date: Tue, 13 Jun 2023 11:36:05 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 4/4] [v2] wifi: rtlwifi: simplify LED management To: Kalle Valo Cc: Ping-Ke Shih , linux-wireless@vger.kernel.org References: <20230608095051.116702-4-dmantipov@yandex.ru> <168664510862.24637.10587241603155144086.kvalo@kernel.org> Content-Language: en-US From: Dmitry Antipov In-Reply-To: <168664510862.24637.10587241603155144086.kvalo@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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-wireless@vger.kernel.org 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? Dmitry