From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752859AbbCAQlo (ORCPT ); Sun, 1 Mar 2015 11:41:44 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45965 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752688AbbCAQll (ORCPT ); Sun, 1 Mar 2015 11:41:41 -0500 Date: Sun, 1 Mar 2015 08:41:40 -0800 From: Greg KH To: Matteo Semenzato Cc: lidza.louina@gmail.com, markh@compro.net, driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: dgnc: replace EXTRA_CFLAGS Message-ID: <20150301164140.GC29474@kroah.com> References: <1425199286-16376-1-git-send-email-mattew8898@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425199286-16376-1-git-send-email-mattew8898@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 01, 2015 at 09:41:26AM +0100, Matteo Semenzato wrote: > From: Matteo Semenzato > > This patch fixes the following warning: > Use of EXTRA_CFLAGS is deprecated, please use `ccflags-y instead. > > Signed-off-by: Matteo Semenzato > --- > drivers/staging/dgnc/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/dgnc/Makefile b/drivers/staging/dgnc/Makefile > index b69f7b6..d70323e 100644 > --- a/drivers/staging/dgnc/Makefile > +++ b/drivers/staging/dgnc/Makefile > @@ -1,4 +1,4 @@ > -EXTRA_CFLAGS += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\" > +ccflags-y += -DDG_NAME=\"dgnc-1.3-16\" -DDG_PART=\"40002369_F\" Please fix the code to not need these flags at all. thanks, greg k-h