Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1352298rwb; Thu, 4 Aug 2022 23:42:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR5aLJpoMDC9Tfv3uNcz9u5paFz4MMPLwsAkLnmBrr38B/7H9XfL+PATyYXU2czWiIQB0Yjn X-Received: by 2002:a05:6402:4381:b0:43b:cb55:ae3c with SMTP id o1-20020a056402438100b0043bcb55ae3cmr5158134edc.45.1659681743651; Thu, 04 Aug 2022 23:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659681743; cv=none; d=google.com; s=arc-20160816; b=xKWu5hKaO/q1uXlD5HzRsRNI4D0jVs2JV6FbKk39eH+L1VUMN6ikYOToYa3jLKnODp JP3UNMUEISLSluXWfpjVNW0uCAC+SU0QoKIfXSZECP/Uoso29/JphI+wkSkpBFBdCCb/ BLEkgCxjTvDvww9gWg9TrzeTLngsLRfW5jZN6o+hEcPyJko1FB4qa0Fa0YW/iiWtW0Tv rCsdIReW1BLc1VhBVfeSuLc4/x3TWg563XJ9aXo54qEJoTQdEgzgvw/x0h6CfSbf/4KZ 06tQtK3aCzmvRb6y0w2qKEM3ZeSigPK7CgorsiSo3bpyLuthGEm8zgCE9Z15Nkrhquha 0qJQ== 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:to:from:date:dkim-signature; bh=uF1i4RUFc6JQj8pWZTQD2eYEbo4hObe4SBjHB+IzeqA=; b=pwW2YnHykhw47FfiLbtiSObgnIvye+OfteacH+5dexaOy1fUbq6DmdvrZpdBZTOSV0 MRvz6zODF6F/w+CF3yNONG94YjzjVSU9jm7ePDj44aXU4nWVctDLj4yCK++4neY1z/Ch bWMm8MD/ehCvSKbumsGR+gxoRRuHicYJlOy4nm0AXsy4jcjOTylMdpsgqOyyl5vsYHeJ wRKUDkbN2Xb8L8TLE+R442ED9z99OhBGFz9vMxOgFYd71AENC/zucZucxxnjCBH3Ma/6 pHGNR90Z1u0kS5Yq6FQnrWPhp1bkAB4rUlk7mu0J7p1UPJQIoqI4EMYlSD403700Fb+U GZkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1hq61Qxo; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g22-20020a170906595600b0073094eb8655si2780963ejr.91.2022.08.04.23.41.58; Thu, 04 Aug 2022 23:42:23 -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=@linuxfoundation.org header.s=korg header.b=1hq61Qxo; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235774AbiHEGjr (ORCPT + 99 others); Fri, 5 Aug 2022 02:39:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235406AbiHEGjp (ORCPT ); Fri, 5 Aug 2022 02:39:45 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C7C972ED2 for ; Thu, 4 Aug 2022 23:39:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 392DA61313 for ; Fri, 5 Aug 2022 06:39:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40CEAC43470; Fri, 5 Aug 2022 06:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659681583; bh=I+kcE97Ve6/ReO0B8c5180Bc7abr6kASH5KpHGYE8A8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=1hq61QxoWIElS+9Pl/b8sRq11hctbk7P2Ebd6DPZ8el95aG0HUuqJyMoMmRaaojzi qUl3aMHwnnVYaiY3rRlYHbbJnNqN1IyFzjyFLT4oLR5B0dAhYUtZ7oLFFjimQfWD1J cuRWQ6a8gZuYy0u8l2jUu2sT0fqhvZWD3eudoyws= Date: Fri, 5 Aug 2022 08:39:41 +0200 From: Greg KH To: Grzegorz Szymaszek , Larry Finger , Phillip Potter , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH 3/3] staging: r8188eu: make driver metadata macro names more consistent Message-ID: References: <6c83e05e5dbccff5630ccfed9e40bf84c889b647.1659565180.git.gszymaszek@short.pl> <7cc838a1e7f64c9aa88deffdb7986fbe55753be8.1659565180.git.gszymaszek@short.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7cc838a1e7f64c9aa88deffdb7986fbe55753be8.1659565180.git.gszymaszek@short.pl> X-Spam-Status: No, score=-7.7 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 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 Thu, Aug 04, 2022 at 12:29:10AM +0200, Grzegorz Szymaszek wrote: > Rename DRIVERVERSION to DRV_VERSION so that it looks more alike the > other macros, DRV_NAME and FW_*, and matches the most popular (as it > seems from a quick review) conventions in other drivers. > > Signed-off-by: Grzegorz Szymaszek > --- > drivers/staging/r8188eu/include/drv_types.h | 5 ++--- > drivers/staging/r8188eu/os_dep/os_intfs.c | 2 +- > 2 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/r8188eu/include/drv_types.h b/drivers/staging/r8188eu/include/drv_types.h > index f51b83515953..3328c66d1ef1 100644 > --- a/drivers/staging/r8188eu/include/drv_types.h > +++ b/drivers/staging/r8188eu/include/drv_types.h > @@ -10,8 +10,6 @@ > #ifndef __DRV_TYPES_H__ > #define __DRV_TYPES_H__ > > -#define DRV_NAME "r8188eu" This should just be KBUILD_MODNAME, no need to create yet-another-macro for this one. > - > #include "osdep_service.h" > #include "wlan_bssdef.h" > #include "rtw_ht.h" > @@ -36,7 +34,8 @@ > #include "rtl8188e_hal.h" > #include "rtw_fw.h" > > -#define DRIVERVERSION "v4.1.4_6773.20130222" > +#define DRV_NAME "r8188eu" Again, KBUILD_MODNAME > +#define DRV_VERSION "v4.1.4_6773.20130222" As the driver is now in the kernel, this "version" string can just go away. Can you redo this patch to do the DRV_NAME thing first, and then drop the DRV_VERSION field after that? thanks, greg k-h