Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp157770imu; Tue, 8 Jan 2019 16:50:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN5/ilvOS1TK47gA3Nd1nMX+RPvGCEOXuTaJaEVbu3Y2jJgCM4L/VuKJZlIcOgwzTZk16p5A X-Received: by 2002:a63:f658:: with SMTP id u24mr3517681pgj.267.1546995041497; Tue, 08 Jan 2019 16:50:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546995041; cv=none; d=google.com; s=arc-20160816; b=I9nbZDcAOAyw8dU4/o+j7WSQNz3W1cezoad+dCvYOMjGaUU1QaKRJsaoGm9reOJ3ts HNSJ3aHIpQQ0oGmGBiplIl0SILUGJK1/xqujUEk4x+WO0HCKgRagIJBWhRywPeRP0AUP Fp9OYE8E8y+k4hRRoGgZVl9OooJnVRqarkZNjkHEXIgmzUHI3X3Pvql2oI9/PXQelmOm SfYcMaGnjco/GhNJxOnsI4wmj333L2FtsfoPSSwjszmZOAe/mL6DMcY0n+8eQD3k04/L 1sXjFTjj8vVvlUjdFfy9zDD+Jm9FwripT+Lcz+PZLjTn9Te+Is+04ZctzjxIT3mrv+43 JjGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UJl7ZF1O89Lnb3lxlwGU3Mmcs/5rLFRXinlQbrNI4MQ=; b=JRbhZEpI9VHzbYW7gcTGXA7So5UhSxu8JRVRzYErPzE+W7aO/D36YarxECg+QdRIGD 2C1WmIUSZG9dyYVvRYSNFVwE1FWeu1A4rnAV4pFR7Kelqxy67Znx1eak3JtC0U+A8RkP wlE43TA32Hqtkzns6VZDasVo6u4imQ6CR/shnssRej866fzw2Ov/ys/i/VDUoUJa/VC6 TkIEeVYsmBC5mUYbbJdB4GyyAJ6oBkAO0dXRcJcHOEEKjMa5mZqMnpqKS/ySkxY/iFsv 3EcspfvV7RgTmVCw+RewRJIfpdHJZTotijd/oaYzRe5pquETgESJFmjNFhkXkxvgnQcU h01g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=V7KWWTi6; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y188si5826259pfb.59.2019.01.08.16.50.26; Tue, 08 Jan 2019 16:50:41 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=V7KWWTi6; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729277AbfAIAsQ (ORCPT + 99 others); Tue, 8 Jan 2019 19:48:16 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:40956 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728112AbfAIAsQ (ORCPT ); Tue, 8 Jan 2019 19:48:16 -0500 Received: by mail-lf1-f68.google.com with SMTP id v5so4352412lfe.7 for ; Tue, 08 Jan 2019 16:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UJl7ZF1O89Lnb3lxlwGU3Mmcs/5rLFRXinlQbrNI4MQ=; b=V7KWWTi6AcJZb9vb6CODi8wlF6sHPAMJkVxK1qpz9R1JxPiFkDnzqDE+CXDfWLJoPj ooWxnmNLBD3ccnydxHsHFMFlwG8F55NlNPQU7NZcI71phOY5GAHUJLHHYFRFkBRMLfI/ NBKnEHVvivyiK1Mzjl8tNEBUHpnVmATMSB8+OBBTzjjudVmIGmJitidMvEEj5L5djg90 QhESFOYLJx3lVCet0G37oOo7vm7AMAi92LCjMWgtE9N7uH4LCrGwXpZxpVQgwcXPqVpj kXZmddadrWWrFCjXoDagbM+DUpXyzn/812vSna3wh1l/hBN1S46j/wzWJ83d3eBA4/Ep +Ymg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UJl7ZF1O89Lnb3lxlwGU3Mmcs/5rLFRXinlQbrNI4MQ=; b=pi4dfnm2wn8HGLSnYPEDLu6UsGu7S11fyCxbAZjPFB7r4EQaccrdikYsXeCKv0Isz+ HxW+f2S8XQ+EKPyha1aZRmrsWrDIG8evzHV5PiB3dNZhVqCr/Al427/tCVOXt16WzwXt V9R8UKuQUw+k2Fyz9QhsFy7LbSSNXq++qdBqtOmqBGf3aG+b+9qfoc2Uvk/izJSmphDS 3+W5OWvQeLdISZz8w4p5QO4u4KAMl1tkHBpfvDxwP+YJjT+nbrOPfGTChvCCLr6B0kop Brm9rm4osLBq0WEaSTxlGh/Qew3uFpQWvGe/rj2a2zUX6scTKOGdETsuuWfpz/cMrgjA EkCg== X-Gm-Message-State: AJcUukeGOAKjU75EcT3y4u6nrSoPx8vxlPSrHX723oEIIooTDFZ5wm5E ZWIs70rAqDUCYzaO/KzUXG3IGYP8B+j7ypLRPIG4KSdJ6do= X-Received: by 2002:a19:a28e:: with SMTP id l136mr2346016lfe.87.1546994893616; Tue, 08 Jan 2019 16:48:13 -0800 (PST) MIME-Version: 1.0 References: <20190107185039.190919-1-rkir@google.com> <20190107185039.190919-3-rkir@google.com> <20190108121335.GA3349@kroah.com> In-Reply-To: <20190108121335.GA3349@kroah.com> From: Roman Kiryanov Date: Tue, 8 Jan 2019 16:48:02 -0800 Message-ID: Subject: Re: [PATCH v2 3/3] drivers: platform: goldfish: goldfish_sync: add a driver To: Greg KH Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > You have a number of WARN_ON() calls in here that are not needed, please > remove. Thank you for noticing, I will remove them. > Also, why is this driver needed at all? Why can't you use the "normal" > drm sync api interface? Why write a custom ioctl driver just for this > one kernel interface? This driver allows us to talk to host's sync api.