Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4569316yba; Wed, 17 Apr 2019 14:28:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxNW0vDQCsVpvxPIa/vRP6XCYqlu6Vw3FRyq67Lqgm6D9GDdAryFFi67Rg/nhMrxaBjACK X-Received: by 2002:a63:3d4c:: with SMTP id k73mr85445109pga.154.1555536491166; Wed, 17 Apr 2019 14:28:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555536491; cv=none; d=google.com; s=arc-20160816; b=sX3lkBjDpYm5l26he4f62djMM3mK1EVT6/XQmC0oSWKC/JY3SMzEEhsK1l7TOdoeYw 7NWOH7N7fQ90sb3MesR+md/vSdKxUqmTCPI3/8LG7KdqfNoiGF1A6C+ovGsy8RPnRmmJ UIa1DW9LmL++GteKtRYBTWZ+Pb2TQ7VqVRQPUv2lE4LjgbX6sXKibcrSN+w4MPfpqkY2 hV1BnLg6blPyjCKME3QuILgofB71RjJea1g0jNdJWcVU0fstrmtZLT7WjypqUDm41lOe +8YkOMpKqcKZ4Q5E7xzHS9RhN+56+0QloYYBK5qgyBimJgzln7MrR/uyl9kYtyFoTnNK NMLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=RNFVHqVSiddrka7y5uyh5eEXvwdPYq6Wx6jMppyRj10=; b=GQMV4gYGjBcs7aJbWeeQFryp0ooIlUFEJLBon7h/NnIfiQYSCPWlueJpAdkADZG0cL /OpGHaourrzpj9ijGZUCsSukiEGwOmEg8TIHCQ4SpUHW5OLzkYBZErOyDG84nL3PNuKn Mcq3FSs+CkeALKzEAZmt0quniUMs1QHl6SeuD1b+KtiVPPkj/vfL9xjzmbDMqCTxaL4r jV08/L73U0NMPK6aPEfrShxN7CpDteNbx37/thIpKOVoYJ/7SxkPs8KN19+nh5JQTnKC VvNdvEZTEINHPxKs9Zv4yGYrIvIn38Qsza1Hm06NeYrPE79MEHvqTqDfMTqEPdYqdmoK FsYA== ARC-Authentication-Results: i=1; mx.google.com; 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 e14si203325pff.76.2019.04.17.14.27.56; Wed, 17 Apr 2019 14:28:11 -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; 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 S1733039AbfDQV1F (ORCPT + 99 others); Wed, 17 Apr 2019 17:27:05 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:51050 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbfDQV1F (ORCPT ); Wed, 17 Apr 2019 17:27:05 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1hGs56-00086z-LW; Wed, 17 Apr 2019 21:27:00 +0000 Date: Wed, 17 Apr 2019 22:27:00 +0100 From: Al Viro To: Arnd Bergmann Cc: linux-fsdevel@vger.kernel.org, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , Mikulas Patocka , "David S. Miller" , Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH v3 14/26] compat_ioctl: move ATYFB_CLK handling to atyfb driver Message-ID: <20190417212700.GZ2217@ZenIV.linux.org.uk> References: <20190416202013.4034148-1-arnd@arndb.de> <20190416202701.127745-1-arnd@arndb.de> <20190416202701.127745-3-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190416202701.127745-3-arnd@arndb.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 16, 2019 at 10:25:35PM +0200, Arnd Bergmann wrote: > +static int atyfb_compat_ioctl(struct fb_info *info, u_int cmd, u_long arg) > +{ > + return atyfb_ioctl(info, cmd, (u_long)compat_ptr(arg)); > +} > +#endif Huh? Why isn't that using compat_ioctl_ptr()?