Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3056788imu; Mon, 19 Nov 2018 09:59:46 -0800 (PST) X-Google-Smtp-Source: AJdET5dBz396DUcZ6id3nW4H7lHENOIsDOkWxlVQeJNUaBmdL/WmHkztyIr3sq4J600iucgHfrZR X-Received: by 2002:a63:e302:: with SMTP id f2mr21306049pgh.320.1542650386431; Mon, 19 Nov 2018 09:59:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542650386; cv=none; d=google.com; s=arc-20160816; b=LtD3+2j5kyLzZeQzu8S44VFZC9AA22TOb8ul03R6gb3foUIptthn4PH5FKLTew0S93 6J8vyxyyjKR/F4HCnX4jMVu+EmUb7ZdrXygwiu0J4/+HctFM+7Zoo5jFjHZ1Iu5b2znR spyu0e9h2fS+udqKzgFM9Vyit0viL9VD7B2BQM5UkSTSq9EhqR3B43zJ3/03AkTHYpYj 7EiuTAUJLGn6chuT8WZ47wE+tizVg/fApIrZvFFXjj71NiGKGFBZW9VyLIGL6+a3R5gS RR/G2MmebimWZ46Rk8ahC0J69ojoQXl/L6CqVHufHSELDqWbbgx9/2tGE9YL5nrQvpa6 AHaQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Yel9mXB2RC9eUY1JOp8OmlmovhGePNZ39oclG7J+994=; b=dgDa9MC8n4TobZt4N34+/8ulaP0tFj/8wGyMMLscjoONE3YdSIDU14afAcxFWXOWZJ FXA5HoZGUsov6trfAkAUO4l9+AWliU70fsaA43iahcVpYc7MMHYzI1plO7cBRVmHfcqo fqlaejLleRofWrWuw/l1Ly/F6soP5MmL3Pg6RwmRpW3y3TFe0+GjmOsAJ6TudR81qMe6 rPPunn5rdnkengmcPpUbSrpkGux4fQ2bvAZr5LA59lP51v+INoHYQS+yGjidz2zo8stu oBzOppCxfrsHdaWIghnTjd6vPQTbgJNAxLQuR6n9d9rfbr8znBmZpcDbcjumDHIg4aYU Zumg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZwIhcSAT; 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 a11si754293pla.20.2018.11.19.09.59.31; Mon, 19 Nov 2018 09:59:46 -0800 (PST) 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=ZwIhcSAT; 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 S1732479AbeKTDCi (ORCPT + 99 others); Mon, 19 Nov 2018 22:02:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:34988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731517AbeKTDCh (ORCPT ); Mon, 19 Nov 2018 22:02:37 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 E342A213A2; Mon, 19 Nov 2018 16:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542645508; bh=ec2jiD/8jSvolZrZH6GlbHJyhyFUS9zdeDzawTCji8g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZwIhcSATqLzi7VEGuNcCxEIYJwpsfGCVO/YMcRK9hLzfk/DzMXqnPyjCHi8ycLfL8 VTvcDpdro/tAxeDEbhkYUpUdij4X7REKgRhvpVSr5T9PD5CFZA4HeHRghQAmm+WNR8 vNEr3Y7d4BVPRP4E4FbpS64Ulqdwcv0TBau2EPyg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Dmitry V. Levin" , Felix Kuehling , Alex Deucher Subject: [PATCH 4.19 151/205] uapi: fix linux/kfd_ioctl.h userspace compilation errors Date: Mon, 19 Nov 2018 17:27:38 +0100 Message-Id: <20181119162638.686113161@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181119162616.586062722@linuxfoundation.org> References: <20181119162616.586062722@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Dmitry V. Levin commit aba118389a6fb2ad7958de0f37b5869852bd38cf upstream. 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 Signed-off-by: Greg Kroah-Hartman --- include/uapi/linux/kfd_ioctl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/include/uapi/linux/kfd_ioctl.h +++ b/include/uapi/linux/kfd_ioctl.h @@ -247,10 +247,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 */