From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38E886EB39 for ; Thu, 24 Jun 2021 18:34:30 +0000 (UTC) Date: Thu, 24 Jun 2021 11:34:29 -0700 Message-ID: <87fsx7jemi.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20210624091414.3287487-1-maarten.lankhorst@linux.intel.com> References: <20210624091414.3287487-1-maarten.lankhorst@linux.intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Subject: Re: [igt-dev] [PATCH i-g-t] i915: Handle the case where legacy mmap is not available, v2. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Maarten Lankhorst Cc: igt-dev@lists.freedesktop.org List-ID: On Thu, 24 Jun 2021 02:14:14 -0700, Maarten Lankhorst wrote: > @@ -84,6 +93,7 @@ void *__gem_mmap__gtt(int fd, uint32_t handle, uint64_t size, unsigned prot) > { > struct drm_i915_gem_mmap_gtt mmap_arg; > void *ptr; > + int ret; Deleted this unnecessary extra ret and merged. _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev