From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FBEFC43387 for ; Sat, 5 Jan 2019 16:55:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E3ECB20868 for ; Sat, 5 Jan 2019 16:55:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546707328; bh=/yUFu1uqaEIUb+1f4IUCZkWJVDuk3pl5faTChTGIqp4=; h=Subject:To:Cc:From:Date:List-ID:From; b=1phF9VZ/xWcMEXhOg0zApQNAtQOaloaPw5oVjk00MN0qdY99dJR0G2h9W7WqFz6NF ZTz7qj/2JEZrEg3yxtf3Qtvs4JDSjmFsKX/cKxAlrVvstrIaamzEA1dwgj4Be4iiz+ wafjypplX2cEdetis9N5l0E+avlddjT2Xl0LLehg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726266AbfAEQz1 (ORCPT ); Sat, 5 Jan 2019 11:55:27 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48163 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfAEQz1 (ORCPT ); Sat, 5 Jan 2019 11:55:27 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 07D6E21CF3; Sat, 5 Jan 2019 11:55:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 05 Jan 2019 11:55:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=p+Qc9Q HSUjdcy83nnuhofh2uMYu5dLgc0uGzbDexPQI=; b=hX0jswExarOQ2ZcpE7a1mo 57zk4Lfu5l5Vh/w74vcinRL2U4rjSKWS5YMiZJVY5mQE6NgnEq4M3yfpbYEj6/DX OqTMSOooCM1aPPMsQDK7WZxQI7a6W/pEM5aMLNOc/8ZLFuz2HgPqjwV9TlqE1PXX g0oDldY7C7EL17I0RUV3j15SlbRZPUZg/41KG5QBU1YkHpoSido9QKbyXFRtq8gY Hed/G7fO54CIsqbwLdH2xWSDuqsjbpdu/NqEk0FoVQ5Et2tCBEPDUO8EWN8obutd Oo00Z/EELJAYQj8uImLJGNS/Puqcym0RoRb7+HQG98K25wAkaCYMNI2qft2lF0XQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrvdefgdeljeculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeeivddrudduledrudeiiedrleenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [62.119.166.9]) by mail.messagingengine.com (Postfix) with ESMTPA id 1DB25E4366; Sat, 5 Jan 2019 11:55:24 -0500 (EST) Subject: FAILED: patch "[PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors" failed to apply to 4.19-stable tree To: ldv@altlinux.org, Felix.Kuehling@amd.com, alexander.deucher@amd.com, stable@vger.kernel.org Cc: From: Date: Sat, 05 Jan 2019 17:54:55 +0100 Message-ID: <154670729512456@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 4.19-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 9349e23907be1954ccdf6d771d640e2788da1643 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 1 Nov 2018 14:03:08 +0300 Subject: [PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors Consistently use types provided by via to fix the following linux/kfd_ioctl.h userspace compilation errors: /usr/include/linux/kfd_ioctl.h:250:2: error: unknown type name 'uint32_t' uint32_t reset_type; /usr/include/linux/kfd_ioctl.h:251:2: error: unknown type name 'uint32_t' uint32_t reset_cause; /usr/include/linux/kfd_ioctl.h:252:2: error: unknown type name 'uint32_t' uint32_t memory_lost; /usr/include/linux/kfd_ioctl.h:253:2: error: unknown type name 'uint32_t' uint32_t gpu_id; Fixes: 0c119abad7f0d ("drm/amd: Add kfd ioctl defines for hw_exception event") Cc: # v4.19 Signed-off-by: Dmitry V. Levin Reviewed-by: Felix Kuehling Signed-off-by: Alex Deucher diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h index f5ff8a76e208..dae897f38e59 100644 --- a/include/uapi/linux/kfd_ioctl.h +++ b/include/uapi/linux/kfd_ioctl.h @@ -255,10 +255,10 @@ struct kfd_hsa_memory_exception_data { /* hw exception data */ struct kfd_hsa_hw_exception_data { - uint32_t reset_type; - uint32_t reset_cause; - uint32_t memory_lost; - uint32_t gpu_id; + __u32 reset_type; + __u32 reset_cause; + __u32 memory_lost; + __u32 gpu_id; }; /* Event data */