Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5403970ybl; Tue, 27 Aug 2019 04:16:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqziJz8EX2D2vh2Ai7HZ2qz94Uevxvx8hgWlqrdqwZFtcmHUPvxMLhbtstlGuqrEcP0HoZ3G X-Received: by 2002:aa7:8219:: with SMTP id k25mr11555499pfi.72.1566904566841; Tue, 27 Aug 2019 04:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566904566; cv=none; d=google.com; s=arc-20160816; b=qcpjXvL/OqrZ+wGa/gfL7xHNk60neUk3samJ0Jix0DOlu557EXQ2z6u/6KbIM+q08T aErkzipw4zPRDdpr8lEI2MZweFoH3fL7q4eossWrbPbGnjllAdVBZ1UINQ4GVvCjKHFL OacKjaEODwjMXZjxFhKkIfSwOQ+Mf5UutSnbMAQ6HfmYp2PGVfZRUwcIux5WJpBQ0p0G ms3UM+2AxEaleLbk0CyHzNHedO7GYPJpgpZUf5E7NLNJetSrI66FPLdndhq9OSzQUY0q bBcm9vISRwAZKwYvXUz9DSa4lOpMCjcwbzP1qUade1b5eBw6rm55TcYnL2tRenjg7heP 3sqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tN/h+WH8MmV+XCN2sNL4+JsFztmam8iySEM3zC2iqNU=; b=bqjJh8wIqsHA3Qf9NCqs6tpbOpRc9Hxy9FOdyW2SjYb/mJDtln/lNpCaBJ/jMICoy5 Yj29Hhro5XBqPFXYxu5h39m6k88kJvJcLIWqKy7KEig4TQsUczseNn1JxhQArtizhu/6 5R6SLCBCabQXBml5DVX/qwKk52upDuc6j2B2XFfE/TtX6oPVKt2EqZhSXGLbCRNMuo9p h1g8GH9z+bKNRfD2rIvwwaroZUT+S84RvmIkGo3JwzsTxveIraUPIMxcHcFZMYZF/uzl zr8gq8rljOkiyKcqoeU8z6qzjgCEpkoBkKYlmvZDUbXqkfcE0WsnV4qvvOTINbWumL6v PgEQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ck12si1417385pjb.26.2019.08.27.04.15.51; Tue, 27 Aug 2019 04:16:06 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728062AbfH0LOu (ORCPT + 99 others); Tue, 27 Aug 2019 07:14:50 -0400 Received: from mga07.intel.com ([134.134.136.100]:4154 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfH0LOu (ORCPT ); Tue, 27 Aug 2019 07:14:50 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 04:14:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,437,1559545200"; d="scan'208";a="197290955" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 27 Aug 2019 04:14:38 -0700 From: Heikki Krogerus To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] modpost: add guid_t type definition Date: Tue, 27 Aug 2019 14:14:37 +0300 Message-Id: <20190827111437.22000-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.23.0.rc1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since guid_t is the recommended data type for UUIDs in kernel (and I guess uuid_le is meant to be ultimately replaced with it), it should be made available here as well. Signed-off-by: Heikki Krogerus --- scripts/mod/file2alias.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index e17a29ae2e97..c91eba751804 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -34,6 +34,11 @@ typedef Elf64_Addr kernel_ulong_t; typedef uint32_t __u32; typedef uint16_t __u16; typedef unsigned char __u8; +typedef struct { + __u8 b[16]; +} guid_t; + +/* backwards compatibility, don't use in new code */ typedef struct { __u8 b[16]; } uuid_le; -- 2.23.0.rc1