Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp616774pxk; Thu, 24 Sep 2020 13:58:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTZNxRqE7Vd89L6N7CbI+9SnvMdvOWo5y6BNXRXBbT9W6xiu950YlDbWP/zUTGkirKy38S X-Received: by 2002:a17:906:9389:: with SMTP id l9mr470779ejx.537.1600981136358; Thu, 24 Sep 2020 13:58:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600981136; cv=none; d=google.com; s=arc-20160816; b=Ehn7jsufdSlw4ezcUL7nc2onT4nlFv5U4lFT6YW7dE8hlUrNeZoN7thWh2NcFqSy8S W/d5PkgwIUmzIaZMDkDkvaYJmXXfFTkjz/VTwBhqvQSED3SqO4gR6g3yB05480Ns0jdh oumICQHYmBWNEssQhS84aO2SQQp4cj4E9sN31NnuIR/ldSqbAE0HtuVlIV0vlwT8CwkR YFfcAzO0jjTJ9Q25hpC2Xe6NxGVi0PB8LI7T6wET0apDm3yXSnO0xAWgMUpo5knD/gvj CoUG0zxeiiraBGOSNVER5hp+b/7LVajVqCDuXntBELAsE66ss3ZflQ92MS+J54Hje0P4 4jyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=ySx/KiuXYijroBfK8w5T1OxqwsAoo9div7BNgEdVkMo=; b=mAIg+PXjT9MyTylZ5e/P50d/cnjfu1iqnNYPzWqNPY+xO8EkeHXt7OYcDA0nzSRTrG 2E7Y2+Oy+HTwvR8w2/CdDoV2mmWeoXBfe7TgxRAiw6MabbCebTfPPTPsWRosO0ZIF3T8 HxqW9wWsLED7AD4kiX0uvJPO4Fz5K6qiK/4NljFu93m4sJ0IIKwonA34JdBIGipLfb4p ZwURq+Cocjaj3CTb4rpBxgl149TdKW0hKiKVvuSQZ1PbVEGAkS34DT/SzRyP0QoS9OxM 0LuA7xzoTAyUtYWFh5vvy/KM8nmLeRT8B9DvHowzJM55wwWEV2cvVZ9QhC3LINZXVQev Efig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn23si387601edb.216.2020.09.24.13.58.32; Thu, 24 Sep 2020 13:58:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726670AbgIXUyl (ORCPT + 99 others); Thu, 24 Sep 2020 16:54:41 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:57194 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgIXUyk (ORCPT ); Thu, 24 Sep 2020 16:54:40 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 6B97720079; Thu, 24 Sep 2020 22:54:37 +0200 (CEST) Date: Thu, 24 Sep 2020 22:54:36 +0200 From: Sam Ravnborg To: Arnd Bergmann , linux-fbdev@vger.kernel.org, Bartlomiej Zolnierkiewicz , "David S . Miller" , hch@lst.de, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] fbdev: stop using compat_alloc_user_space Message-ID: <20200924205436.GP1223313@ravnborg.org> References: <20200918100812.1447443-1-arnd@arndb.de> <20200918124808.GD438822@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200918124808.GD438822@phenom.ffwll.local> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=CaYmGojl c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=e5mUnYsNAAAA:8 a=25-AhOLfAAAA:8 a=ocQuWhCnBm-ropBlqfgA:9 a=CjuIK1q_8ugA:10 a=Vxmtnl_E_bksehYqCbjh:22 a=dnuY3_Gu-P7Vi9ynLKQe:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel/Arnd. On Fri, Sep 18, 2020 at 02:48:08PM +0200, Daniel Vetter wrote: > On Fri, Sep 18, 2020 at 12:08:10PM +0200, Arnd Bergmann wrote: > > The fbdev code uses compat_alloc_user_space in a few of its > > compat_ioctl handlers, which tends to be a bit more complicated > > and error-prone than calling the underlying handlers directly, > > so I would like to remove it completely. > > > > This modifies two such functions in fbdev, and removes another > > one that is completely unused. > > > > Arnd > > > > Arnd Bergmann (3): > > fbdev: simplify fb_getput_cmap() > > fbdev: sbuslib: remove unused FBIOSCURSOR32 helper > > fbdev: sbuslib: remove compat_alloc_user_space usage > > Looks all good, but we're also kinda looking for a new volunteer for > handling fbdev patches ... drm-misc commit rights, still not interested? Hi Daniel - I read the above as an a-b. And Arnd did not take the bait it seems. Hi Arnd. checkpatch complained about some whitespace, which I fixed while applying. Will push to drm-misc-next tomorrow unless I hear anything else. Sam > -Daniel > > > > > drivers/video/fbdev/core/fbmem.c | 44 +++++------ > > drivers/video/fbdev/sbuslib.c | 124 ++++++++++++++++++------------- > > 2 files changed, 90 insertions(+), 78 deletions(-) > > > > -- > > 2.27.0 > > > > _______________________________________________ > > dri-devel mailing list > > dri-devel@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel > > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel