Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4356286imm; Mon, 15 Oct 2018 13:24:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV63DLVn2Rzcf5bzbEbXMME0Q0SW+Iu6Z6xLUPQrh/iTnvZEIC6L61Hq0BWvlA5VAWWfbm2D2 X-Received: by 2002:a17:902:7c0b:: with SMTP id x11-v6mr18334218pll.60.1539635068854; Mon, 15 Oct 2018 13:24:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539635068; cv=none; d=google.com; s=arc-20160816; b=tS0DltyDxi7+RKzC/E2hqPHKDv0THGRQ0uB73zAs70mlNKubRTBWW9R3Z10usi2vS9 hNTUDW/xxinr7PBxDz4W7bwQOixt+SqjyjMLHnmVS7jqTHIbBG6onCNIxvz/G8/j4T8Q Chj/yRFF6MAIgW5h5YASd9rHetr2QEOKT4TLAM/1GNivSmzqODzlRMMPw1UdoqzsknAB qiHrtS7NkE4U9ZU201ye+iMxrZHp3mlAIt3P5uedXDQ3kikWBm6eHCBJQI0R/57tSztk BjZ9A1HHU9ODHVqfHW4yxwtP4Uda2/YvHON4OmE52dz+GpMF6nTzW4YF1afTo1RlQHTA K2qQ== 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=38XTM2fqny8gr74IcrCnJ94WC0bj4ugKL4AP/ZIIzMc=; b=HDDJq6k58vnhwxzuV7K90oxkuMlCrVTtQZG/ypLROdrpE8bwMqwBERuyiIeyaoxqE0 6/0etIhCrN2RRmWrqdoIsuxgV0wM7tDt1dxTnG6Row/gZsOyxX9GL6JQh6Bua5/RFAEE Pc60T4z4nN4XfbaoNOmurLAuAbWBZa2QLsdITvqecCDyUPWbAMcK0SBU2ZSEJUM/khQl uY4xL/lO/sW+zq1J7QvZ2qHEMMKAX3bQv35RsNyTbYm4+UFEIZ+fggNFjf8Cbdt+Tnv8 zaN8wj61eF3edh8fLUjN+Ox2jEIi2oM3D47OZhT41Vo7dp2pByqTJSHun74fE8srI6rm mRGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Lu6e7zET; 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 b35-v6si7367843plh.177.2018.10.15.13.24.12; Mon, 15 Oct 2018 13:24:28 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=Lu6e7zET; 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 S1726137AbeJPEKh (ORCPT + 99 others); Tue, 16 Oct 2018 00:10:37 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:35583 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbeJPEKh (ORCPT ); Tue, 16 Oct 2018 00:10:37 -0400 Received: by mail-lf1-f66.google.com with SMTP id r191-v6so15111864lff.2 for ; Mon, 15 Oct 2018 13:23:48 -0700 (PDT) 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=38XTM2fqny8gr74IcrCnJ94WC0bj4ugKL4AP/ZIIzMc=; b=Lu6e7zETKWUVoMD/TfiaLzhLNP5uiCyd2+XjxL+doDdVrX1n2U/MJpXNpLmF+HiPxi TY3q3NwzLsEn1PuH+pbe5fubiNcyTEDgwoOZi/w34Wt+qHkSOUDVUqbOxrUZy34b3Vl8 ZB7tCEIqk2IAPKx0EYNzZGPQzasOL2nZpxnUZnoGlQjgAVvgg3+bIbiMzDwF6sBQ97yW sG4o3KE2FZzWdSZPK8MO04YHohevdZnuljckLx98LtCINR8iyQRvfCh/Z2+9W+Ti+gPn bpfDTVz/IiANLEbOTuhE9fwmlim5GXVINA1HCYn2IAbkbvn+f93wFF5dEYf+f39dLxyM TkwA== 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=38XTM2fqny8gr74IcrCnJ94WC0bj4ugKL4AP/ZIIzMc=; b=PZwZqthrJG97JCwaGq1riYl1RR9AH8U7lcXUBliItNWeJtX6HVf5951FfoFwoyybc+ Yw+KA8Oi8yT5BS/zk9SaPJmYp3K3iDrQdKhEB6XgBSyT2gA2UidmG6E+ERCtzQxmQBju cMUulqDzUUM+CSHyvkDmnMW0N57q4AAbyU7Mxo0DL+55JJxLPc6VLNaN3KqHnkZA1hwa /UNlDsb0VYxog9iZZYO4AvCOBS7MVD3Q6mrqW0L24vW1ETQGig4s3h1v+dLB15prDbd/ hSkSFahzdl7ziyJxtGjplXy2366jemQSAH2Bhc88e0PI1hAOz1EApfKwDYJ/Rd/iJW1G 8lBw== X-Gm-Message-State: ABuFfoixW7QFYDJ6OwixUjFssX5f1ZYJ8WcKmliGvqz2D1sSDtuAndES v8G67NpIJUDfipYor8NyrsQqwAnz0i7HYsToep+PBA== X-Received: by 2002:a19:c189:: with SMTP id r131-v6mr10076311lff.59.1539635027475; Mon, 15 Oct 2018 13:23:47 -0700 (PDT) MIME-Version: 1.0 References: <20181003171720.169953-1-rkir@google.com> <20181003171720.169953-9-rkir@google.com> <20181015183807.GA6905@kroah.com> <20181015190134.GA6700@kroah.com> In-Reply-To: <20181015190134.GA6700@kroah.com> From: Roman Kiryanov Date: Mon, 15 Oct 2018 13:23:35 -0700 Message-ID: Subject: Re: [PATCH v3 09/15] platform: goldfish: pipe: Move goldfish_pipe to goldfish_pipe_v2 To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Todd Kjos 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 > > I want our "v2" driver to be in a "v2" file and our "v1" driver in a > > "v1" file. I think this is reasonable. > > The in kernel driver is the "v1" one. I believe v2 (on our end) was upstream as goldfish_pipe.c instead of goldfish_pipe_v2.c. > Why do you need a totally new driver file at all anyway? I don't want to mix v1 and v2. > And again, can you GUARANTEE that userspace will not break if you rename > the kernel module? Yes, it works: https://android.googlesource.com/kernel/goldfish/+/android-goldfish-4.14-dev/drivers/platform/goldfish/ I don't see how userspace could be affected, unless we refer to __FILE__ inside the driver for some important things. I believe we don't.