Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1417289pxb; Fri, 21 Jan 2022 18:13:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTp0rXEkEQnGA0uwKGzJRZl4zppAakHXp8oKoZ8OU+6E4zKK0yWaeH4r+iUUV7N0+w9YwB X-Received: by 2002:a17:902:f68a:b0:14a:3fd3:f318 with SMTP id l10-20020a170902f68a00b0014a3fd3f318mr6239365plg.113.1642817609853; Fri, 21 Jan 2022 18:13:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642817609; cv=none; d=google.com; s=arc-20160816; b=JPoQ3A5dHNcNvz7atL5dhNjmB1ewogCAwhDaVsNqCscfXDpOSDHKhjXE5Ite773uwp 8+nyUYgDMdI96XTnfRaAiHgRb2ofXChyPmBgBX791c5t0JL5EkyZxTC+qTcxEeAP2OA4 XUwg9NDlinh1/tuDICyiKoLusvQrZ602dD/T2kA0/4/chg3+or/I/TlNkN1aPAHqppCt pUtGczy5a0XhIW1l2sykgHmuOuXGUdpYsUOGt6sTOiUanz51xue3uFpUn4HYVTuCZSzl lzLjm7x4x7l30FE8axVBnEwqzgLoSxpEPIHzGNHS1hWrWa4T7f/I9dne3vJzH0HGlel7 BVDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=5Rto3uScPhoQz+ANP90QDAtL8pw87Qal3oKsCCdk+fo=; b=DuxQq/bpV/OxgPXRVqlX+PLX9eKao4Z1zZjyzWmbUO7mRZi73xRrQQc7EZUgdztM74 HD3tBS0nsj0/9Frx1wbOJD46ctdvl2fsq2UUSM1iUC5wm+zY06sRifmOAtCpWbdB6pm3 Wf9Qim63kCxduTEpQeufier6VSZR6ZdEQOthbepgv3UjnqHyS21X/7NPVYXVXrk91HYf ewsQBRqVzQkEdr4uMXDej2uRb7v9Qkv88Fwo930uw6UKlo+sUyDqT7qyr0ECHwoUhWmR FY48IkBaFkJBZzsHA8WsBN5xoseVm0tptIPamZysKJUJ9x0Oa2uHNxsLx5ymls4MOths 06tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=DwRmdrDu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v2si8005998plg.530.2022.01.21.18.13.21; Fri, 21 Jan 2022 18:13:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=DwRmdrDu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232342AbiAUT2v (ORCPT + 70 others); Fri, 21 Jan 2022 14:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232270AbiAUT2v (ORCPT ); Fri, 21 Jan 2022 14:28:51 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5310DC06173B; Fri, 21 Jan 2022 11:28:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=5Rto3uScPhoQz+ANP90QDAtL8pw87Qal3oKsCCdk+fo=; t=1642793331; x=1644002931; b=DwRmdrDurqFbA99uRI5rSK6ptNjgZDDZA8GvIYhxxmP2fZ+ or2FVZ3lftTxT5DsymLnh6JSEHDony4+opFDEpjVFt1XKf01KTG09+2BXNjGVjWbsNkvz0pbxmni2 vApGQ0FIpc/D0K6DwZaHP54niOKxRzrhEOyj4iUtjaUvgMEHYrac2KGRPrMyzC3UDbrQw0qiH9BB/ 4/6vNRuWu1l7mdAi6yHzfa0oQivq1xmP6cGLqob5VFW8cepuYlBl04lyEj8OtAxPV3TPtSrOu1AM7 9I90OO2uERXQzGCmpjPGX18YE9f7EVAo+GGPz4daQLU2lPCBTsoVph5xXOyv+QZA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) (envelope-from ) id 1nAzaX-008ap4-5S; Fri, 21 Jan 2022 20:28:45 +0100 Message-ID: <25f2b7aad73e65a38c6203c400425c2489332dec.camel@sipsolutions.net> Subject: Re: [PATCH 27/31] net: mac80211 : changing LED_* from enum led_brightness to actual value From: Johannes Berg To: Luiz Sampaio , "David S. Miller" , Jakub Kicinski Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Date: Fri, 21 Jan 2022 20:28:44 +0100 In-Reply-To: <20220121165436.30956-28-sampaio.ime@gmail.com> References: <20220121165436.30956-1-sampaio.ime@gmail.com> <20220121165436.30956-28-sampaio.ime@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.2 (3.42.2-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2022-01-21 at 13:54 -0300, Luiz Sampaio wrote: > The enum led_brightness, which contains the declaration of LED_OFF, > LED_ON, LED_HALF and LED_FULL is obsolete, as the led class now supports > max_brightness. > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches and particularly https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_messages would be a good thing to read. Also, clearly you need to actually sign off your patches: https://www.kernel.org/doc/html/latest/process/submitting-patches.html#developer-s-certificate-of-origin-1-1 (but yeah read the entire page) Anyway, I'm with the other comments - what's the point in replacing things like "LED_FULL" with arbitrary "255". I guess your commit message should explain that, I don't see how it really is so obviously "obsolete" that this needs no more comments. johannes