Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp250981imu; Tue, 15 Jan 2019 21:10:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5uqmbq6UA6FhHnRjRnj9s5eCFjGcKYvSmtulZYO+VQO+nSC4PT6mu+jLyZefztPXifBuMQ X-Received: by 2002:a62:44d8:: with SMTP id m85mr7918634pfi.164.1547615445968; Tue, 15 Jan 2019 21:10:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547615445; cv=none; d=google.com; s=arc-20160816; b=MS8+tYd/+zAB/vbefOhgAMOTNEcIEd1zGt7TfT48gByOUQrmL4RmL3qfscEHrrRCLz skMuhzP+DD5uskPSF0RqCZUTMSy0PpjtehNH27TWM55DnD/DJw7uA/qgBzVscgNO/dgn Kn8HmOqfYoQqH5Gv75DJKvu2z6WuYiOB2P3wpfhtGAfNxDtjB2K9CFowoFw2lwyi07vI lmz4JZu4G4WoqH2u9Ykdv5OA7TLSHm7gVXNvKbTXOJmdJV9KyAJ4WNwL77c2jUP5xfXJ GqGJQVQxzMuNLA6wp9fpmf51/11qnsliFIeN5y/epyRhKkM43J+bEYvXcZxU8P+cUhyW KsKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lFbXZSF2mqyA4e0YFKIG19AIswKVZzxeuP9ulX+IagA=; b=gtB3vljNV27EGvVhPNUFf89879KpEVW+6oPe8E889tGVeEdhDePsoW9SWjjBDZ+T4i VSueKvI8ORtxyy5A29X/pIhHEs27kxPDVYJMzG6arNJP5bp6rpX9vcukFwUhaAytYlbS thER329Ld0DJsyMSb9Uy/XECKrDIB2FhlFla22vJnHC6cRdt4VbiIw8ukQdPkpxmyCw4 RtbGBMZ/tA+CraZ5MEdtbtyL8zDYRCVdyDXj84hDZuUOpIc/+Dw4oF0myrt4/FxBGfwu 5SDlD2utJOKpXjTB16RTsLVJZ3n5SIhvAb1VOHaX0siN0ix1raAABv44V0Mxh8MIuC25 vJOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZCRH09RK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si1555607pfm.37.2019.01.15.21.10.27; Tue, 15 Jan 2019 21:10:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZCRH09RK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733205AbfAORnu (ORCPT + 99 others); Tue, 15 Jan 2019 12:43:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:58220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728025AbfAORnu (ORCPT ); Tue, 15 Jan 2019 12:43:50 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ADA0E20645; Tue, 15 Jan 2019 17:43:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547574229; bh=F5g0m1FjNxGCGlJ1/nYqQv6oCvm1jvy2NdDg9MKYOlM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZCRH09RK/GbcmkrvYSVceR4ipncE4Ap/A7hRVj2qow/fZ80JmHZDOe6bLjD7K6G5u nMuR3V3IwfAanBKP6jGWsySRBninuD6divaFQPh3xXHG9QkUtEVRkObHhot9YI97/k fYrM+eeHQ7JojxCMyB+0f1Abp5glH2F3RkNii71Y= Date: Tue, 15 Jan 2019 18:43:46 +0100 From: Greg Kroah-Hartman To: George Hilliard Cc: devel@driverdev.osuosl.org, NeilBrown , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] staging: Mediatek: Use individual config flags in Makefile Message-ID: <20190115174346.GA11832@kroah.com> References: <20190115172009.GB30853@kroah.com> <20190115172916.26937-1-thirtythreeforty@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190115172916.26937-1-thirtythreeforty@gmail.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 15, 2019 at 10:29:18AM -0700, George Hilliard wrote: > These drivers can be useful on other MT76xx SoCs, which have compatible > peripherals. The drivers were selectable in Kconfig, but they were > quietly excluded from the build because the SOC_MT7621 chip was not > selected. So, make the Makefiles use the same flags as Kconfig for > these drivers. > > mt7621-dma and mt7621-dts are left alone because they truly do require > that SoC. > > I have personally confirmed that the mt7621-spi driver works on the > MT7688, which was what prompted this change. > > Cc: linux-kernel@vger.kernel.org > Cc: devel@driverdev.osuosl.org > Cc: NeilBrown > Cc: sergio.paracuellos@gmail.com > Signed-off-by: George Hilliard > --- > Changes in v2..v4: > - Also use individual flags for mt7621-pci and the new mt7621-pci-phy > - Slightly revise commit message You also rebased this patch, right? Anyway, applying this patch, I get the following build error: CC [M] drivers/staging/mt7621-mmc/sd.o CC [M] drivers/staging/mt7621-mmc/dbg.o drivers/staging/mt7621-mmc/sd.c:48:10: fatal error: asm/mach-ralink/ralink_regs.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [scripts/Makefile.build:277: drivers/staging/mt7621-mmc/sd.o] Error 1 make[3]: *** Waiting for unfinished jobs.... drivers/staging/mt7621-mmc/dbg.c: In function ‘msdc_debug_proc_write’: drivers/staging/mt7621-mmc/dbg.c:237:12: warning: unused variable ‘size’ [-Wunused-variable] int mode, size; ^~~~ drivers/staging/mt7621-mmc/dbg.c:237:6: warning: unused variable ‘mode’ [-Wunused-variable] int mode, size; ^~~~ make[2]: *** [scripts/Makefile.build:492: drivers/staging/mt7621-mmc] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [scripts/Makefile.build:492: drivers/staging] Error 2 make[1]: *** Waiting for unfinished jobs.... So I can't take this patch as is, sorry. Please fix. thanks, greg k-h