Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6010537ybi; Sun, 21 Jul 2019 07:17:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFHIrWRuzWtGLpDiEwpYH/VXQ0er+EajbU0U+QRQOPdhXx5dh6Otg8N4+13s/z9YvT0e7v X-Received: by 2002:a63:7b18:: with SMTP id w24mr66287890pgc.328.1563718645868; Sun, 21 Jul 2019 07:17:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563718645; cv=none; d=google.com; s=arc-20160816; b=Ilx1tFZlP88s1uyggSOU4olIBXj4gunwJxyCrU0+uKkZ59IExSbJUQp+8QmRvXfqN8 8gz11emKxe1kat+2u4ZxMwtYAdJ4Qa5xVeXXkxG5jWzbFgseLFC32MSkebj0nC+WHoXN J9e1Tx9o1yrfqUPp3QHSf9TN2xf3TCdGFKlI15ml3h9bp00TbBnMrEGteuZ7DgCZzWLw Qzn6LGWdkP0Y9T9ymrQS36GYYqUUXrJgiAVSycWvOmztSPAJPjBY+xjeutdHSCFnzyk8 Y80YjS/4CLa/hWtSUrU1L85QbsZw71LzJL0XZ7fBBkeS9ZptMqMx5QpxpU3i/1kwLIBe HpIA== 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; bh=1fgIseiVrtAquhWDjVQHmGJTo29/NM2BiyqyCsBeT0k=; b=xZbwTQUVUHyKYBobl0vZiQbQU0JaI6CeuAY0Y3uATrkeBsdUEYVzBfomMUGvLonC4y KuZavUB/atI5hcfcXKVFsf3piQ8oscfro2BCwru7ezHElSBc0AigzuiW4rbp5XvOBnpo kGh35QgWXp6CPJn1cyyLb175Pe2rdFj6o6h/WUtCKdNAxxwIs+0cLCGZFHKsmlf3CrRw wCr8myL1fdUuWok6SlJSJFEbxbNCAPNAaptbnGyXNRO49b3gK3GEjDKD63QOC/6EJJxG dKzczyZJANkvdfWhd9PPhGOy28LxbnQdpYsrxxsUhxSgYZs+OlpVK4aof6Sa4MbXQpf/ VjSg== 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 v20si6730264pgb.182.2019.07.21.07.17.09; Sun, 21 Jul 2019 07:17:25 -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 S1726519AbfGUOPY (ORCPT + 99 others); Sun, 21 Jul 2019 10:15:24 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:40101 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726338AbfGUOPY (ORCPT ); Sun, 21 Jul 2019 10:15:24 -0400 Received: by mail-qt1-f196.google.com with SMTP id a15so35850681qtn.7; Sun, 21 Jul 2019 07:15:23 -0700 (PDT) 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=1fgIseiVrtAquhWDjVQHmGJTo29/NM2BiyqyCsBeT0k=; b=tST2D1luKjX2uB23aL0KnoOkDOYMIc5LuuVy00STnrxfARVSaE+R2l9GckhfFmULAh EmZxzCJoydZwPuyQUYRlqDk2khxcg0/37I6eN8MFCzWNb+8SONR4pmgoHy5kyFaezewM md4oXPHmdce/WJ791bHzF7R9HhLKEovc/GG1NAjVp4jqWCpQArl35Px8Uf9sH93GFb7n E0bHPBN5nUpMNozMExhtVwmDv4+56Twjx+XWVMwpL1dqhyt0dlHxyJeUdUl4+EqYCPb2 WDs0HZU3QjF8ElxNYkYb9khba7opf50arpN9/a1Lw0EyGWk6l0L1TXcQ6Uq6FhdPbZIT a7Og== X-Gm-Message-State: APjAAAV6Z3QWyaq20GsfDa+VxtJTYkEuZ9PD20r605s/kBp4PaJ9YVdI Qiw+X1wvW9a6aS2i8YdKtU/C7oVRNpO7d26ing4= X-Received: by 2002:a0c:b88e:: with SMTP id y14mr45073099qvf.93.1563718522909; Sun, 21 Jul 2019 07:15:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Sun, 21 Jul 2019 16:15:05 +0200 Message-ID: Subject: Re: [Question] orphan platform data header To: Masahiro Yamada Cc: Ben Dooks , Linux Kernel Mailing List , Linus Torvalds , Greg Kroah-Hartman , DTML , linux-arm-kernel 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 On Sun, Jul 21, 2019 at 2:13 PM Masahiro Yamada wrote: > On Sun, Jul 21, 2019 at 6:10 PM Arnd Bergmann wrote: > > On Sun, Jul 21, 2019 at 5:45 AM Masahiro Yamada > > wrote: > > > On Sat, Jul 20, 2019 at 10:55 PM Arnd Bergmann wrote: > > > > On Sat, Jul 20, 2019 at 5:26 AM Masahiro Yamada wrote: > > > Another example that I have no idea > how it works: > > drivers/net/hamradio/yam.c > > yam_ioctl() reads data from user-space, > but the data structures for ioctl are > defined in include/linux/yam.h That is different: the hardware attaches to a serial port and may well be usable, and the user space side just contains a copy of the header, see https://github.com/nwdigitalradio/ax25-tools/tree/master/yamdrv > If we want to fix this, we could move it > to include/uapi/linux/yam.h We could do that, or just leave it alone, as nobody would tell the difference. > But, if nobody has reported any problem about this, > it might be a good proof that nobody is using this driver. > > Maybe, can we simply drop odd drivers?? Both the kernel driver and the user space side have a maintainer, and I see no indication that it is actually broken. The driver is clearly a relic from old times (earlier than 2.4) and we would not merge this driver today. It seems more useful to keep looking for drivers with a platform_data header file that is no longer included by any platform for candidates that may be obsolete. Arnd