From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 922A5C4708F for ; Fri, 4 Jun 2021 09:09:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C2D0613EA for ; Fri, 4 Jun 2021 09:09:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbhFDJLc (ORCPT ); Fri, 4 Jun 2021 05:11:32 -0400 Received: from mslow1.mail.gandi.net ([217.70.178.240]:37209 "EHLO mslow1.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbhFDJLc (ORCPT ); Fri, 4 Jun 2021 05:11:32 -0400 Received: from relay9-d.mail.gandi.net (unknown [217.70.183.199]) by mslow1.mail.gandi.net (Postfix) with ESMTP id C8F9AC74FD; Fri, 4 Jun 2021 09:09:44 +0000 (UTC) Received: (Authenticated sender: hadess@hadess.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 14349FF804; Fri, 4 Jun 2021 09:09:19 +0000 (UTC) Message-ID: <1fc00ee63fcb2be29148e33be1f013a154caf287.camel@hadess.net> Subject: Re: [PATCH v3 1/3] Bluetooth: use inclusive language in HCI role comments From: Bastien Nocera To: Archie Pusaka Cc: linux-bluetooth , Marcel Holtmann , CrosBT Upstreaming , Archie Pusaka , "David S. Miller" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , LKML , "open list:NETWORKING [GENERAL]" Date: Fri, 04 Jun 2021 11:09:19 +0200 In-Reply-To: References: <20210604162616.v3.1.I444f42473f263fed77f2586eb4b01d6752df0de4@changeid> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.1 (3.40.1-1.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2021-06-04 at 16:56 +0800, Archie Pusaka wrote: > Hi Bastien, > > Thanks! That was a great input. > I'm not sure though, do we have a standard, proper way to deprecate > macros? > Or does a simple /* deprecated */ comment works for now? I think we might need to add #ifdef around those instead unfortunately, something like "#ifndef BLUETOOTH_NO_DEPRECATED_CONSTANTS" around the old names. > > Cheers, > Archie > > > On Fri, 4 Jun 2021 at 16:39, Bastien Nocera > wrote: > > > > On Fri, 2021-06-04 at 16:26 +0800, Archie Pusaka wrote: > > > > > > The #define preprocessor terms are unchanged for now to not > > > disturb > > > dependent APIs. > > > > Could we add new defines, and deprecate the old ones? Something > > akin > > to that would help migrate the constants, over time: > > https://gitlab.gnome.org/GNOME/glib/blob/master/glib/gmacros.h#L686-716 > >