Received: by 10.192.165.148 with SMTP id m20csp5016832imm; Tue, 24 Apr 2018 12:11:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+SenDlBeu7jWNIsLLCfKjJH+lNYR3nD8TmCMpLeDtJAS6VBUkl4dA+ggGTzISini8nXd6M X-Received: by 10.101.83.8 with SMTP id m8mr20991746pgq.28.1524597093461; Tue, 24 Apr 2018 12:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524597093; cv=none; d=google.com; s=arc-20160816; b=Tdwb1R+mBXllKdsVb80euW1T0F3aZok7YnUvF7xqHzPUO1SFnRfQO8fsbnS/sYb0I9 09xlnZ9SNG6vj+M0HFcgjKITNmCaL6DlgYwCoK2f/AVVCzO74vNXe67DrhWQfHd0xwgn YTpDgMO4XW4j0rg7Jn1A57M2/1wmflobQHaIfwnduqmXvZYDKJ+wv8rsuMMiMDIeNJKt pSbABDtiUO8BMr0+asnCIdZTHTjsr22hzczGHAE3LiqVfKIx9uxwh6/l6zdtQEakI6qA aICCctBYooMWlBMhk3/+BHRYtkU52xRDtPOBC+tkkwTdNHmh6CW6J4lqkZycxFAToifn vy+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=UT2Pj7iB5Xd7tDvmZNe0zRQZ/SDeEwuHk5BrXlYIAYc=; b=YjbOl8hFHvyxHAgONEhhFLXfQNRsF5YX00XczHM2YO5ie/2rCAmcjn8x2J2E70gioy Ak0AVwgau/B9AKsOPT7OW0jZxsUU11umW95Gwtf52d5jXXYI8oLfIELMT+/2dcpSBvLZ lt9181bC9KdpnAmbcugpbI3th4a5dNJS8tjnwKv5vqsbCXimkTGQ9QXdhx0+OcIcpovr L5xdj0UvWi3INnWO7SyAscoVnPgEg0etSTAxPHVuUPSvd0F1uzI62IvLmgyK7D0bQRQ+ 75xvjo8ize2BD+ckuF0gxy18SGoZLSnND24o9A8OK1K02J91gOUIMCLwZlxRdFdAs4Sb US8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=PUnWCXak; 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 33-v6si14097232pll.332.2018.04.24.12.11.18; Tue, 24 Apr 2018 12:11:33 -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=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=PUnWCXak; 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 S1751492AbeDXTKC (ORCPT + 99 others); Tue, 24 Apr 2018 15:10:02 -0400 Received: from mail-bn3nam01on0062.outbound.protection.outlook.com ([104.47.33.62]:29612 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750766AbeDXTJ5 (ORCPT ); Tue, 24 Apr 2018 15:09:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UT2Pj7iB5Xd7tDvmZNe0zRQZ/SDeEwuHk5BrXlYIAYc=; b=PUnWCXakpoFvgBLn5t9am0CcSp5yROFyPqzie6EdIUvOK6855+juNSMHW12qqlCPWab/jVVy154BaQ30pGsQO1wR8j2JDoq5q22oRFa9GtWrpTczyGOAqDQSZt8+wjqq3Do08vmi1Y6I1WqFpV/1UqhXZP/4yMIjpA0//amLrqo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Felix.Kuehling@amd.com; Received: from [172.27.225.16] (165.204.55.251) by MWHPR12MB1711.namprd12.prod.outlook.com (2603:10b6:300:111::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Tue, 24 Apr 2018 19:09:52 +0000 Subject: Re: [PATCH] drm/amdkfd: fix typing in (*hqd_destroy) To: Luc Van Oostenryck , linux-kernel@vger.kernel.org Cc: Oded Gabbay , "David (ChunMing) Zhou" , David Airlie , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20180424131416.1702-1-luc.vanoostenryck@gmail.com> From: Felix Kuehling Organization: AMD Inc. Message-ID: <4a86713e-0ee1-35cf-470a-5b457554b5f5@amd.com> Date: Tue, 24 Apr 2018 15:09:45 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180424131416.1702-1-luc.vanoostenryck@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-CA X-Originating-IP: [165.204.55.251] X-ClientProxiedBy: YQXPR0101CA0068.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:14::45) To MWHPR12MB1711.namprd12.prod.outlook.com (2603:10b6:300:111::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020);SRVR:MWHPR12MB1711; X-Microsoft-Exchange-Diagnostics: 1;MWHPR12MB1711;3:0gVHv99FD5R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LBRd71EUj43NE6dzHMCfxcg0Y0+1zK8HmAzU2LnYNLbRXyrJgWcWmR8bW3/gyR7TufH6LYwmvSXEMD+OP/SowcAMN94Ucpyj8HEEAcmHA+cJjVg2nCpgVH1gQ/3jpiLZgiFSkGrqGmHtgxSDYrIDOuyOH5+54+VYiRgdxcX5aaDadIiqPBFVla5i7cVTA/xa2yObuR1VenL/meq8YRzZlZ7lpG31ykJaZ0nBa0EJzHsruB35b5nkDclXThq2tXv6hbUdtoG3lhy3FnDMyw9I2RWH/II5E1UIHjJ+g2BJP8HxrjiQ3P+Dqt9r0BGg+MExSmIycmgs0zsZRDytVj45;4:ryQjx6p4fd3R7iyvUeMxcS4dC3xk+qaYcKhIFpb5MxnOLWKmgjhq01c8Z1uUAGcrXRAzvU+6frVIGlVSQ0WSZc8ukeWRtLvBEKc348HNygxl4Z3iF0xZir8vvwyLwwL9jxuEFx71PBoR0VJYKB1zScRI2YqU3+YlL8kNgy6DAxjRSKjl9CHWdvC284i3rpeT5vHvAXxm7NA5e/fvJygf9hfJRQobsVcMl3r0p1br6pyenvEfxiuMQmse7SaZSKQt8TOIXXplqrtXx1DEZRZODzi6GozzdGlJtL6YNdNMax2cTOBWRPRV7ctHhORA8Ye5unvTEnzr6lKQ9EQNFMqrhw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85827821059158)(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231232)(944501410)(52105095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:MWHPR12MB1711;BCL:0;PCL:0;RULEID:;SRVR:MWHPR12MB1711; X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(366004)(39380400002)(376002)(39860400002)(396003)(346002)(377424004)(52314003)(189003)(199004)(105586002)(6246003)(77096007)(68736007)(26005)(2486003)(52146003)(23676004)(86362001)(52116002)(36916002)(31696002)(76176011)(2906002)(16526019)(44832011)(31686004)(11346002)(2616005)(956004)(446003)(486006)(97736004)(54906003)(386003)(53546011)(16576012)(36756003)(476003)(6486002)(59450400001)(58126008)(6666003)(3846002)(65806001)(6116002)(66066001)(4326008)(65956001)(478600001)(316002)(47776003)(229853002)(39060400002)(65826007)(72206003)(5660300001)(25786009)(305945005)(53936002)(106356001)(81166006)(8676002)(8936002)(81156014)(64126003)(50466002)(230700001)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR12MB1711;H:[172.27.225.16];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxNzExOzIzOkFsTTh1NjVlZlVnbHV0ZnJEUW0rZVFUeVFs?= =?utf-8?B?OWpuME10SVJ3TXQzVzlhcWxmQitxVnJEajRTRzZKNTA1N2FxNUwzNEpITWRF?= =?utf-8?B?OWZBWFJpNVNrN0Rtd2s3ejViZ1RjUXVEWDhwQ0o0N0EzalU2ODZiL0F3UWVx?= =?utf-8?B?ayswRG5WT2lhSEZER3Jla3dFcUpEWjV2S25ZM0RxN2puUWgzQ0FFcCtTYkN0?= =?utf-8?B?b1QyRno3RFZqOVpnSzZQN3pvWmFMcXR6dVJrZGoxR2ZJNENucVMyOU00akNw?= =?utf-8?B?cktrN21rcXE3bjcxZ21rK1lObkZkQ1NlR3dvQVArU1V2d2FGVmtkbzErVzB5?= =?utf-8?B?aXYvZGpuZWtIQlQxNTdtSXZjUHlQdmdLR3dvTE5VOEZSRC9mdjVCVWpTUjBG?= =?utf-8?B?Tk15VzdrVjZpa2tlTytYam40SGRzUEpEb01ya3N6aENuM3pndjdMMm9hUzMz?= =?utf-8?B?V0NZb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sSMepPyl7kwP6KA7+p6mX8jQ/4DU8j5TIaTD9izeBCkmAprYEYOcC/tGNo7qn2n4UH5XnUxZdpPA+MHkcGzL5TJVMW2g+tht4D7xtKgKYnvrIur0d2PAyBB;20:B1z2zFasko5AEk/22TKgc1bxRErQx7+84UO9fyNAwS1WDUVwhO+aiG9jtdGj2TznQuC698VIdLJNxFtTolSV78H9swa8KBIvlo0gc27wJeM33zmSg3gWzbInlxwSUm5q5H4TzAlyMdDavwYNN2xPOQpVmN86TB9h5fjhWKCg8uczDHtvAMDeU/O+PvCXpOmN4j4EDNt85fq+YHYU0U2sa4rEGwwdw563B6R0/WhK1lRpUjD7fMVVUdWN+1a/i492 X-MS-Office365-Filtering-Correlation-Id: 16840319-63dd-493e-3693-08d5aa16f61f X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 19:09:52.1317 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 16840319-63dd-493e-3693-08d5aa16f61f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1711 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-24 09:14 AM, Luc Van Oostenryck wrote: > The method (*hqd_destroy) is defined as using an 'uint32_t' > as 3rd argument but the the actual implementation of this > method and all its calls actually uses an 'enum kfd_preempt_type' > for this argument. > > Fix this by using 'enum kfd_preempt_type' for (*hqd_destroy) too. > > Signed-off-by: Luc Van Oostenryck Interesting. I'm surprised I never saw a compiler warning about a function pointer type mismatch. I guess C isn't picky about integer types as long as the size is the same. Anyway, this patch is Reviewed-by: Felix Kuehling > --- > drivers/gpu/drm/amd/include/kgd_kfd_interface.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/include/kgd_kfd_interface.h b/drivers/gpu/drm/amd/include/kgd_kfd_interface.h > index 237289a72..2890e8581 100644 > --- a/drivers/gpu/drm/amd/include/kgd_kfd_interface.h > +++ b/drivers/gpu/drm/amd/include/kgd_kfd_interface.h > @@ -298,7 +298,7 @@ struct kfd2kgd_calls { > bool (*hqd_is_occupied)(struct kgd_dev *kgd, uint64_t queue_address, > uint32_t pipe_id, uint32_t queue_id); > > - int (*hqd_destroy)(struct kgd_dev *kgd, void *mqd, uint32_t reset_type, > + int (*hqd_destroy)(struct kgd_dev *kgd, void *mqd, enum kfd_preempt_type reset_type, > unsigned int timeout, uint32_t pipe_id, > uint32_t queue_id); >