Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2554461ybt; Mon, 22 Jun 2020 01:02:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAo8emdJfeyWMCwED6b+PjkcIrDntvPxgYEmSkncnsg0xY2pdUNO2kMLqEOw3agnkk2MaP X-Received: by 2002:a17:907:7283:: with SMTP id dt3mr15102529ejc.195.1592812930353; Mon, 22 Jun 2020 01:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592812930; cv=none; d=google.com; s=arc-20160816; b=g7a3FB3zAAAU7IdJP9NtjJD3xRj0VcJ1meYvLaLttniYDAegJVNzHXSITQ+6eMzgCW BJ9cNWdz+rEhyISkiilJOgJXxDaCH20rTAQRD0RBVoRlSTk8NL8sy4fXvvFi33EcthuO xbDyuUxHdo0x6kMiNHFiXWsbBf+u1qBtTJxYw3oM967gL/8VK+aX0a+rjt9YRI4r2jfL UoaqRVFCO65hnWGq0RMCuyeSf9XeuUMIbhiK9OsgZCwyQZe/m/tnnt9b1Wi7VXQhhIzh uxsa8gX3L0h5YFKielr0JSaFrpZUGr0VAVW+pzn9lbRxx1WYGvxWf3qfMHtauQrVvd2D CoIA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+72HVS79yQlhaAUpl1BQ92pBtKAe/k4uQc7WSaUvr00=; b=dXcke0bLbZ1MIlxB8+59JxcWpOjPi7sdxrsStTZbIY1gbcDiD8/RfgiTAqztY22kR8 13j/JBqECOArxmh95EIylrnwcQejZmHtyqOjWB3eAojFg4wpjxkluDnz0yD6FzWXHw6P i9usW2nhOIn/bVkhc41JGr6BnyQpgyxc8OeKeaGjj7ABPaHSYKRXMuJibqk4xOXQJEE4 KtsEmAVU/NgO0+AsdH7cS9jIFJ4v6ty1zekWY+fTl7UYtuDV0WpJY5CiS24hRD2ilP7t UJguxE1iRqlZrdMyt2mTKb7tcN+e4mXYAJzfDhIdakCVFL1L7XrziqYpKsu5fPdBsGhF pwbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@elastisys.com header.s=google header.b=jCqge3D6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=elastisys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si10413257ejo.179.2020.06.22.01.01.47; Mon, 22 Jun 2020 01:02:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@elastisys.com header.s=google header.b=jCqge3D6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=elastisys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728086AbgFVH7H (ORCPT + 99 others); Mon, 22 Jun 2020 03:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726976AbgFVH7G (ORCPT ); Mon, 22 Jun 2020 03:59:06 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9728C061794 for ; Mon, 22 Jun 2020 00:59:05 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id c11so9026490lfh.8 for ; Mon, 22 Jun 2020 00:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elastisys.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+72HVS79yQlhaAUpl1BQ92pBtKAe/k4uQc7WSaUvr00=; b=jCqge3D6KoP/sIdIThN/DHv8XTHSxY/xJDbvFROYkEp5HxGRHew4puiSQD3ry7G87b UBY2DmEKrJ4dMkhtTOw0UHjZPbvGmjtxO+QYkUgo4vfw2gKXanYztqq5J6XcoNbgvj5+ dy/jhBx9k1/RltLhcE02EVQJfMZiSdKukXWio= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+72HVS79yQlhaAUpl1BQ92pBtKAe/k4uQc7WSaUvr00=; b=LOGx42GX2okUaoMQLvwna2+bF0UluTeaKIOIMuHT16MY/u0xYLL8aGStKnKot0PNAv Usn6mBP0/Shz6HmKWLQWRwPHjJgdx2OqaU4wjOiKJeZV9iBjhWsFKBgRHLTnS4xvmK0R 4SUiUWfZz4C/9xqqxwNhBN0XvGNDm48QJnjRmS3kjvYMG1wACDRu+1rEqYOCPlWRxUGa zaDWCLl0N87TjP/SXYtkqg8T5Y8n39qu7q3yAI/3msuJusBwA4BJCMUPZO0hGE8SMjxX h/Hi4ttiMMjhET3+sAMOymEGvhbscNfVv3goC/KZdJVE1/Tka2hBI6IpdtwDOB9TYFGQ PGwQ== X-Gm-Message-State: AOAM531EgwEUawwnqD9PMwJgCWcpZ41Lcgt6aYMfdAO6Dc/g2CzumaAE r6AyGjJwh6YuZgyXkjDsQrUpaQ== X-Received: by 2002:ac2:5e6c:: with SMTP id a12mr9124696lfr.35.1592812744344; Mon, 22 Jun 2020 00:59:04 -0700 (PDT) Received: from minitrue (90-224-48-115-no56.tbcn.telia.com. [90.224.48.115]) by smtp.gmail.com with ESMTPSA id v23sm2568173ljg.122.2020.06.22.00.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 00:59:03 -0700 (PDT) Date: Mon, 22 Jun 2020 09:59:02 +0200 From: Cristian Klein To: Stephen Rothwell Cc: Jiri Kosina , Benjamin Tissoires , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: Signed-off-by missing for commit in the hid tree Message-ID: <20200622075902.GA24615@minitrue> References: <20200621075124.206aeeea@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <20200621075124.206aeeea@canb.auug.org.au> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --K8nIJk4ghYZn606h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jun 21, 2020 at 07:51:24AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 470376737e88 ("HID: allow building hid.ko as an external module") > > is missing a Signed-off-by from its author. > > -- > Cheers, > Stephen Rothwell Hi, My bad. Please find attached the corrected patch. Cheers, Cristian --K8nIJk4ghYZn606h Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Allow-building-hid.ko-as-an-external-module.patch" From 8005724373d8cecb241c013d16b2242c7c1fb39e Mon Sep 17 00:00:00 2001 From: Cristian Klein Date: Mon, 22 Jun 2020 08:47:58 +0200 Subject: [PATCH] Allow building hid.ko as an "external" module For quickly testing USB HID quirks with a larger community, it is useful to be able to build hid.ko as an external module, e.g., against the source code of the running kernel. Before this patch this failed as follows: ``` $ make -C /lib/modules/$(uname -r)/build M=$PWD/drivers/hid make: Entering directory '/usr/src/linux-headers-5.3.0-51-generic' CC [M] /home/cklein/linux/drivers/hid/i2c-hid/i2c-hid-core.o CC [M] /home/cklein/linux/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.o LD [M] /home/cklein/linux/drivers/hid/i2c-hid/i2c-hid.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ishtp/init.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ishtp/hbm.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ishtp/client.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ishtp/bus.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ishtp/dma-if.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ishtp/client-buffers.o LD [M] /home/cklein/linux/drivers/hid/intel-ish-hid/intel-ishtp.o CC [M] /home/cklein/linux/drivers/hid/intel-ish-hid/ipc/ipc.o /home/cklein/linux/drivers/hid/intel-ish-hid/ipc/ipc.c:12:10: fatal error: client.h: No such file or directory 12 | #include "client.h" | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:290: /home/cklein/linux/drivers/hid/intel-ish-hid/ipc/ipc.o] Error 1 make[1]: *** [scripts/Makefile.build:519: /home/cklein/linux/drivers/hid/intel-ish-hid] Error 2 make: *** [Makefile:1656: _module_/home/cklein/linux/drivers/hid] Error 2 make: Leaving directory '/usr/src/linux-headers-5.3.0-51-generic' ``` Signed-off-by: Cristian Klein --- drivers/hid/intel-ish-hid/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/intel-ish-hid/Makefile b/drivers/hid/intel-ish-hid/Makefile index f0a82b1c7..db4974c43 100644 --- a/drivers/hid/intel-ish-hid/Makefile +++ b/drivers/hid/intel-ish-hid/Makefile @@ -23,4 +23,4 @@ intel-ishtp-hid-objs += ishtp-hid-client.o obj-$(CONFIG_INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ishtp-loader.o intel-ishtp-loader-objs += ishtp-fw-loader.o -ccflags-y += -I $(srctree)/$(src)/ishtp +ccflags-y += -I $(src)/ishtp -- 2.20.1 --K8nIJk4ghYZn606h--