Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp488649imm; Thu, 30 Aug 2018 04:06:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZiHAGf2LpDQv/PnxccAvSeWfeXYhVghlavDEd8/IE8VJGWhw2BB+BNqOPoDDG5IN2LTXpH X-Received: by 2002:a65:50c9:: with SMTP id s9-v6mr7245425pgp.417.1535627186256; Thu, 30 Aug 2018 04:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535627186; cv=none; d=google.com; s=arc-20160816; b=a+X7iwEAbPd8ujBFV59S9nKfqnD3RQHiWIhTgDb7ZQ+nzOq/eKMgZmbBxyG2PvDy69 gKyGbp7srQSxH1tqVL8yJZfjHFGNN2KI3+zFv446/Cf3fMMwFL3rq6jTU+K8vTaa7on+ qMGbVRAZKYdt3j44iAfRgrQPQ/TnaBuy1UKVi2ryyBG1Lyl70Vk+EBT9dsIbI0Qn+ECK vZFifQZ3KDlTp7C52hm+RZyB8HPUyltoXhIHjmowi5GtSWLBPqiWJU1nUdDwfS7Luyua Ak0fM7gP1JtH9RJmWONoj0HYIYgVDhdz6wlfiq4N/YcZ9iHpmDitxOC0C0q0zynHTnPx mHRw== 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:arc-authentication-results; bh=VTiJekV8wUhuSZeSzhEZAm02MxGB+DmdoTL984f2B/E=; b=oJt7CjOttoBhsVPm2xSv5zsgMhrzj/czM6cmzzqcDHidT9g7ig3tQKjUtIKIZmtJif C3Bb1dOU0fYeT5dPf4vhYU3oYctes7UdskK2tAmCkLUp1UcWx5ObqOFGKrc6Nauk4G9b qTCahfOD0nZATzehTDWQUza3hPzzxg10v8Cy3xlpMxBScTbdWi04zC0BFlyOK09wbdA8 8ySpEQkQsl/M/TFdbBPHpbDvnkjerqnVE5gI7DAKn2Bs4HKgUCq3REw5N+7wVN7/DO7b UDunmPTnJCWrBu/Wa6Mv1i0NCxVVOeraWIZ1tsEhIGpTI/Ia2rIFzWyRHIcgt+UwE5QS QzjA== 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 n11-v6si4355481pgr.467.2018.08.30.04.06.11; Thu, 30 Aug 2018 04:06:26 -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 S1728556AbeH3PGi (ORCPT + 99 others); Thu, 30 Aug 2018 11:06:38 -0400 Received: from zimbra.alphalink.fr ([217.15.80.77]:43684 "EHLO zimbra.alphalink.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727451AbeH3PGh (ORCPT ); Thu, 30 Aug 2018 11:06:37 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 490A02B52071; Thu, 30 Aug 2018 13:05:01 +0200 (CEST) Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id QNAqreNRWMgs; Thu, 30 Aug 2018 13:05:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 107AC2B520EA; Thu, 30 Aug 2018 13:05:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail-2-cbv2.admin.alphalink.fr Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id X20nvVVJiQ5k; Thu, 30 Aug 2018 13:04:59 +0200 (CEST) Received: from c-dev-0.admin.alphalink.fr (94-84-15-217.reverse.alphalink.fr [217.15.84.94]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id CC2EB2B52071; Thu, 30 Aug 2018 13:04:59 +0200 (CEST) Received: by c-dev-0.admin.alphalink.fr (Postfix, from userid 1000) id B14D560228; Thu, 30 Aug 2018 13:04:59 +0200 (CEST) Date: Thu, 30 Aug 2018 13:04:59 +0200 From: Guillaume Nault To: Arnd Bergmann Cc: paulus@samba.org, linux-ppp@vger.kernel.org, netdev@vger.kernel.org, mitch@sfgoth.com, mostrows@earthlink.net, jchapman@katalix.com, xeb@mail.ru, davem@davemloft.net, viro@zeniv.linux.org.uk, y2038@lists.linaro.org, linux-kernel@vger.kernel.org, Kirill Tkhai Subject: Re: [PATCH net-next 3/5] ppp: move PPPIOCSCOMPRESS32 to ppp-generic.c Message-ID: <20180830110459.GA19111@alphalink.fr> References: <20180829140409.833488-1-arnd@arndb.de> <20180829140409.833488-3-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180829140409.833488-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 Wed, Aug 29, 2018 at 04:03:28PM +0200, Arnd Bergmann wrote: > PPPIOCSCOMPRESS is only implemented in ppp_generic, so it's best to move > the compat handling there. My first approach was to keep it in a new > ppp_compat_ioctl() function, but it turned out to be much simpler to do > it in the regular ioctl handler, by allowing both structure layouts to > be handled directly there. > Acked-by: Guillaume Nault