From patchwork Thu Mar 8 02:03:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Siqueira X-Patchwork-Id: 10265825 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EA546602C8 for ; Thu, 8 Mar 2018 02:03:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB57E296E4 for ; Thu, 8 Mar 2018 02:03:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CFF44296EA; Thu, 8 Mar 2018 02:03:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 86EC5296E4 for ; Thu, 8 Mar 2018 02:03:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C814C6E27A; Thu, 8 Mar 2018 02:03:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ua0-x241.google.com (mail-ua0-x241.google.com [IPv6:2607:f8b0:400c:c08::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 28E266E27A for ; Thu, 8 Mar 2018 02:03:15 +0000 (UTC) Received: by mail-ua0-x241.google.com with SMTP id s92so2001146uas.11 for ; Wed, 07 Mar 2018 18:03:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Xn+XwlfvlCjYBcD+/By4nEAMLwmmBXQpgRBLkqjZoXE=; b=G2rubeDhmtNQbwh8GXBCDzJ78BykRf3Wi+T5+8istjKHPQU79FRn3sypRgQID4h/XZ fW7E1QfAXClgunNYzBlbv1NqUY3mwTZA3nAlAMmLGR45RJGS3vlH2DqwMhwaT7/Zoe+b t8y97Zxwy+iOGy1bIFUAYXbTrbbpcZpFW/0A/W2RqwVmkqejBxA2kLEmnNrPTSki/L8N Web3+OSzraoFfcorM82oU8UH0A0ngh00akVH45kmoPBOlc1k9YKFoP5eyefLqp6qvSQk ovt3G9Mh2SSO/A25Dz9tTzAgzR6CwjGCgX+veRYPiWOYfsR2Y6fNdSaJtwUhTrAeGN6j sJLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Xn+XwlfvlCjYBcD+/By4nEAMLwmmBXQpgRBLkqjZoXE=; b=sr4kU/OO6pFjivfF+J1z5+fFWpNwRBPYwHyPDZg41SdUFSGfp3vz6ndbaAzS3jXcNt kuwOvARHVrU02TRPxavxL5oqlZMT0CaDPuvyYGowv0rjHLC3qOTj63GTISC6uYWNyNNo ZVC5cHjIdbh7W6lmaExQOG+gYgYQZy2gGOmwMw6id9Th+tfIoEUfeRPsaE4GtYqwaMfL N7HKT065DxBHoVgS/TSMnmokckKICCEJ9KdsMCcEqyTVwM86DVQA0JIkeGS3uVvKEjWU 3NKwl50tPZWkMvgobhoPC4Nq48XPGuAiYRiF8rkQVGW5yJJ76Hc5eAc1hfIlJIqxU8Lk vLzw== X-Gm-Message-State: AElRT7GOgnEuAAkHIm+DrG7KRLa/X3tzEub9CgyBsUL0yAD0ExSEb+Q3 PK+5bsCH2N1OjNTsjwadPM8= X-Google-Smtp-Source: AG47ELvhN/yr0fFryjr9RSgdeUirSxGetqbs0koCvzoV/HavZ4XGcl2q25tsj/01tUD6iw1BFXYsxw== X-Received: by 10.176.18.226 with SMTP id o34mr8710147uac.5.1520474595043; Wed, 07 Mar 2018 18:03:15 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id 15sm3341278uaj.47.2018.03.07.18.03.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Mar 2018 18:03:14 -0800 (PST) Date: Wed, 7 Mar 2018 23:03:12 -0300 From: Rodrigo Siqueira To: David Airlie Subject: [PATCH 3/5] drm/vgem: Replace uint32_t for u32 Message-ID: <386320c12f1414cdf13bdadabed0f4f3287a7538.1520474055.git.rodrigosiqueiramelo@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes the checkpatch.pl check: vgem_drv.c:229: CHECK: Prefer kernel type 'u32' over 'uint32_t' Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/vgem/vgem_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c index 5767030d04a8..bf704ed51da4 100644 --- a/drivers/gpu/drm/vgem/vgem_drv.c +++ b/drivers/gpu/drm/vgem/vgem_drv.c @@ -226,7 +226,7 @@ static int vgem_gem_dumb_create(struct drm_file *file, struct drm_device *dev, } static int vgem_gem_dumb_map(struct drm_file *file, struct drm_device *dev, - uint32_t handle, uint64_t *offset) + u32 handle, uint64_t *offset) { struct drm_gem_object *obj; int ret;