Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5723161ybl; Tue, 27 Aug 2019 08:47:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbhPhoB0pKcM9u0Z3ghKnGaHk2t7A10ul4BYr9yWgL0oCt3owDn8MNYarWYphs1PnI4bnI X-Received: by 2002:aa7:8f2e:: with SMTP id y14mr26970559pfr.113.1566920821184; Tue, 27 Aug 2019 08:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566920821; cv=none; d=google.com; s=arc-20160816; b=cOwJn7J9Jj3Xgxcr43yLlTRbe61RtRX3nw6ovKxdVjzIrjhchk9OcnE+LXVNJaLGNh 2y+n7Syn2hKx2gs9B4/OF5QEk6BDTwUVFCX/EeiqQ4QKIsudXNHm4ILFWg9JtQf6+Scr /NkZZZJPBmlzrD1/neG/2OW24VAKfFi49AMdqsR9CV5r5ON7yMBxuNV+VxoR3dBWSxfo /o01v4oFmgGS0oW53GC0JXQyFR+qUuOsbHCzOG7iMOW/nOmoxiulIPVkgIwqlhTGIhRR xXi5O3LJDVby3K7i2GWOd4W1sGORm8XmdG/or+K17h5gAQ3/pPFXBYKBJTIUhsYtt46k qJXw== 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=aLiyHXG9sW17QnFBWrrcJerPrtyL13uSQNFRrOCuoWg=; b=fvFgbuU7Lcv+wE6khlwl4UhZJkAZ16wqbTnQ2tWSelaQE0X0GCKtjLu7jflHdqOQTo uAh8O7ATJQRNqWq2UgyPKNvGsm8X7qbBEIxG/9sO1Zu4QJP8fIsP2h7Dc7Ou/EkgczWC vJoGaP2dM+vtv5RcGlggaNhlcwLG+vtLdTFQe3dsCW9QUgGRWwbZZyceXBaCf9m+Vtww xnFqRkQbW02kk7J/c/8wlV3To+uD46E99hCbJgn7cEVuT1U7Z8akJJxoS4uW9P832xIZ nxYa6KCwWmcTJwWKYfCZL0+gVd9xAwU2KUUWt8Ujdxp46092ap0aaqEJWhFecbr8nvA5 rXKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VUm+QyTC; 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 x131si13606837pfd.116.2019.08.27.08.46.44; Tue, 27 Aug 2019 08:47:01 -0700 (PDT) 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=VUm+QyTC; 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 S1729313AbfH0Pnr (ORCPT + 99 others); Tue, 27 Aug 2019 11:43:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:47662 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726190AbfH0Pnr (ORCPT ); Tue, 27 Aug 2019 11:43:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 60B8720578; Tue, 27 Aug 2019 15:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566920625; bh=5CBLLXyz5mH+6UkaFr1muXce8BcgOenSUC9ZoiZKHZw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VUm+QyTCs6wjxwUWE7sioTbZaEwQ24NoCiZ9H40FcsXD4YpEsZMBaQQpYy2d/jdco OZ2ZSNWbTkMetqN+IkRVEJZLoRE3dfsctPnJCv+TZXbMOTMwPhxntk83s5GYV87oMx nA38C4c6HALcWBvw0G8xraMd62aKyt175ppzSym8= Date: Tue, 27 Aug 2019 17:43:43 +0200 From: Greg Kroah-Hartman To: Gao Xiang Cc: devel@driverdev.osuosl.org, elder@kernel.org, Viresh Kumar , yuchao0@huawei.com, johan@kernel.org, linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org, Viresh Kumar Subject: Re: [PATCH 1/9] staging: greybus: fix up SPDX comment in .h files Message-ID: <20190827154343.GE534@kroah.com> References: <20190825055429.18547-1-gregkh@linuxfoundation.org> <20190825055429.18547-2-gregkh@linuxfoundation.org> <20190826055119.4pbmf5ape224giwz@vireshk-i7> <20190827075802.GA29204@kroah.com> <20190827092036.GA138083@architecture4> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190827092036.GA138083@architecture4> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 27, 2019 at 05:20:36PM +0800, Gao Xiang wrote: > Hi Greg, > > On Tue, Aug 27, 2019 at 09:58:02AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Aug 26, 2019 at 11:21:19AM +0530, Viresh Kumar wrote: > > > On 25-08-19, 07:54, Greg Kroah-Hartman wrote: > > > > When these files originally got an SPDX tag, I used // instead of /* */ > > > > for the .h files. Fix this up to use // properly. > > > > > > > > Cc: Viresh Kumar > > > > Cc: Johan Hovold > > > > Cc: Alex Elder > > > > Cc: greybus-dev@lists.linaro.org > > > > Cc: devel@driverdev.osuosl.org > > > > Signed-off-by: Greg Kroah-Hartman > > > > --- > > > > drivers/staging/greybus/firmware.h | 2 +- > > > > drivers/staging/greybus/gb-camera.h | 2 +- > > > > drivers/staging/greybus/gbphy.h | 2 +- > > > > drivers/staging/greybus/greybus.h | 2 +- > > > > drivers/staging/greybus/greybus_authentication.h | 2 +- > > > > drivers/staging/greybus/greybus_firmware.h | 2 +- > > > > drivers/staging/greybus/greybus_manifest.h | 2 +- > > > > drivers/staging/greybus/greybus_protocols.h | 2 +- > > > > drivers/staging/greybus/greybus_trace.h | 2 +- > > > > drivers/staging/greybus/hd.h | 2 +- > > > > drivers/staging/greybus/interface.h | 2 +- > > > > drivers/staging/greybus/manifest.h | 2 +- > > > > drivers/staging/greybus/module.h | 2 +- > > > > drivers/staging/greybus/operation.h | 2 +- > > > > drivers/staging/greybus/spilib.h | 2 +- > > > > drivers/staging/greybus/svc.h | 2 +- > > > > 16 files changed, 16 insertions(+), 16 deletions(-) > > > > > > Acked-by: Viresh Kumar > > > > Thanks for all of the acks! > > > > greg k-h > > I found similar issues of graybus when I tested the latest staging-testing > > In file included from :0:0: > ./include/linux/greybus/greybus_protocols.h:45:2: error: unknown type name ‘__le16’ > __le16 size; /* Size in bytes of header + payload */ > ^~~~~~ > ./include/linux/greybus/greybus_protocols.h:46:2: error: unknown type name ‘__le16’ > __le16 operation_id; /* Operation unique id */ > ^~~~~~ > ./include/linux/greybus/greybus_protocols.h:47:2: error: unknown type name ‘__u8’ > __u8 type; /* E.g GB_I2C_TYPE_* or GB_GPIO_TYPE_* */ > ^~~~ > ./include/linux/greybus/greybus_protocols.h:48:2: error: unknown type name ‘__u8’ > __u8 result; /* Result of request (in responses only) */ > ^~~~ > ./include/linux/greybus/greybus_protocols.h:49:2: error: unknown type name ‘__u8’ > __u8 pad[2]; /* must be zero (ignore when read) */ > ^~~~ > ./include/linux/greybus/greybus_protocols.h:58:2: error: unknown type name ‘__u8’ > __u8 phase; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:88:2: error: unknown type name ‘__u8’ > __u8 major; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:89:2: error: unknown type name ‘__u8’ > __u8 minor; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:93:2: error: unknown type name ‘__u8’ > __u8 major; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:94:2: error: unknown type name ‘__u8’ > __u8 minor; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:98:2: error: unknown type name ‘__u8’ > __u8 bundle_id; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:102:2: error: unknown type name ‘__u8’ > __u8 major; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:103:2: error: unknown type name ‘__u8’ > __u8 minor; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:108:2: error: unknown type name ‘__le16’ > __le16 size; > ^~~~~~ > ./include/linux/greybus/greybus_protocols.h:113:2: error: unknown type name ‘__u8’ > __u8 data[0]; > ^~~~ > ./include/linux/greybus/greybus_protocols.h:118:2: error: unknown type name ‘__le16’ > __le16 cport_id; > ^~~~~~ > ./include/linux/greybus/greybus_protocols.h:122:2: error: unknown type name ‘__le16’ > __le16 cport_id; > > .. and other files... > > Not very sure... but it seems it can be observed with allmodconfig or > CONFIG_KERNEL_HEADER_TEST=y and fail my compilation... > Hope that of some help (kind reminder...) Ah, thank you so much for this, NOW that makes sense why I got that odd kbuild warning that I could not figure out. Let me go fix this up, thank you so much. greg k-h