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 5A060C43387 for ; Sat, 5 Jan 2019 16:55:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A85620868 for ; Sat, 5 Jan 2019 16:55:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546707312; bh=e6tt93DZQODWLVBOcue+ZQImrP8WUbVmODMsHhBg/FQ=; h=Subject:To:Cc:From:Date:List-ID:From; b=NvVJWQneWPG9orbH4C3DHOl7XIelw1AvwqL9VRSu/6XklvuM9rH7KT6wrPQvkRx2s 4cAlNLwwZqdM5DMitr4KXikDIqn1f7EZEb+816UEPEZAgBfU3KkUzg55/GZ4XF309v sZDrRCrNR9fTXq/MQ34sgeSntyXnN9XrsrjIobaE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726276AbfAEQzL (ORCPT ); Sat, 5 Jan 2019 11:55:11 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59937 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbfAEQzL (ORCPT ); Sat, 5 Jan 2019 11:55:11 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1D8D121B87; Sat, 5 Jan 2019 11:55:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 05 Jan 2019 11:55:10 -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=ZjmwBt DPufrQ4cWPPFypPm78sOCQU9xfPm+u6c5VYI0=; b=g3pWIMWrxZdOtE7zUCBfT8 JhoZPQrFplTZiBc7pQqvuSdpoJyq//aIydYbWnmIlZV9tXMD5ix9l6ao4LZiLkAE xLEtitih/W7r6F4Uytxp+fDV8J+EjGJeXfH7CCwUwKffBq34wevHc6lDrAppR1r0 PYOV6dSXBO5IuRd7Eh53cCaK4ZrGkiJp4yfCx9zwTpHAamzqNFOO/skV/8YnZy/Z heAfoFFpJVA7YgnR4gS55rYC+7Y5BRxz2NKQP40XN88CWvhCFfHlUzD2v9jP6bpB EB+hEdiJ3UGfak5XHfMesxb0b9rOLcQVD3/svHcQwYIw4X1OtnSgVJQgTKEYqPrw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrvdefgdelieculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvffhfffkgggtgfesthekredttd dtlfenucfhrhhomhepoehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhr gheqnecukfhppeeivddrudduledrudeiiedrleenucfrrghrrghmpehmrghilhhfrhhomh epghhrvghgsehkrhhorghhrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (unknown [62.119.166.9]) by mail.messagingengine.com (Postfix) with ESMTPA id 117D610087; Sat, 5 Jan 2019 11:55:06 -0500 (EST) Subject: FAILED: patch "[PATCH] uapi: fix linux/kfd_ioctl.h userspace compilation errors" failed to apply to 4.20-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:48 +0100 Message-ID: <154670728891197@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.20-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 */