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=-16.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham 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 029B0C4338F for ; Wed, 11 Aug 2021 07:40:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D638260C40 for ; Wed, 11 Aug 2021 07:40:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235782AbhHKHlU (ORCPT ); Wed, 11 Aug 2021 03:41:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:54554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235491AbhHKHlT (ORCPT ); Wed, 11 Aug 2021 03:41:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A150760230; Wed, 11 Aug 2021 07:40:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628667656; bh=V/N3eN/dw5gSqAyCkP+gCTFP8cNeUSG7Vnrmvybg9YA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2nEEGo6qq4f/vChJviFvNJGOXUdcy2sE4Et/9BG/ML35x1TGhgsfEw5gTXUiWdINt ttGxCioO0qIIw83UY6v5FTymJIdfLouK9VD6KUJOg7OXzijRvWbuAMD6gVR+6EMjhW 4RQjquwm8YCOTFlMaKWo+P7hjklKwna7KOYnrSFk= Date: Wed, 11 Aug 2021 09:40:53 +0200 From: Greg KH To: Phillip Potter Cc: Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 8/8] staging: r8188eu: remove lines from Makefile that silence build warnings Message-ID: References: <20210810235047.177883-1-phil@philpotter.co.uk> <20210810235047.177883-9-phil@philpotter.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210810235047.177883-9-phil@philpotter.co.uk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 11, 2021 at 12:50:47AM +0100, Phillip Potter wrote: > Remove the several lines from the Makefile that append EXTRA_CFLAGS options > to silence build warnings about unused variables, unused functions and such > like. This will enable cleanup of missed warnings, and easier spotting > of future such problems. > > Signed-off-by: Phillip Potter > --- > drivers/staging/r8188eu/Makefile | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/drivers/staging/r8188eu/Makefile b/drivers/staging/r8188eu/Makefile > index 152d6325b4d9..7f6658f931d1 100644 > --- a/drivers/staging/r8188eu/Makefile > +++ b/drivers/staging/r8188eu/Makefile > @@ -2,15 +2,6 @@ SHELL := /bin/bash > EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) > EXTRA_CFLAGS += -O1 > > -EXTRA_CFLAGS += -Wno-unused-variable > -EXTRA_CFLAGS += -Wno-unused-value > -EXTRA_CFLAGS += -Wno-unused-label > -EXTRA_CFLAGS += -Wno-unused-parameter > -EXTRA_CFLAGS += -Wno-unused-function > -EXTRA_CFLAGS += -Wno-unused > - > -EXTRA_CFLAGS += -Wno-uninitialized > - Ah, that is why I didn't see any warnings! Thanks for these changes, will go queue them up now. greg k-h