Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6036886imb; Fri, 8 Mar 2019 07:58:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzmkLYUPupBUBW3EX/oT2x+9mViMPg4Cf6iy1WNWhUWgWDxKxYLqe4c9RAId9c33GcQGH15 X-Received: by 2002:a62:ea08:: with SMTP id t8mr19026050pfh.60.1552060736876; Fri, 08 Mar 2019 07:58:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552060736; cv=none; d=google.com; s=arc-20160816; b=B4G6t+doMNBRASLuMr0lZIxE6L/puwInsPrOJYVgheNCQbJOeeyCo7HMo+cy+ND18N Du8VDPoxJuBB9pXIeOdnlnN2UdrmeMwwO3uk7cR+T9EaXDTyi8smHQB+ekEJEROI9tYy QU9VmmZ9kP4QDbPcUglJbL3PWuZf0A15WNv9oGBFGUqelCchCNoq4gevVEgiCKFc0cFh FpJ7c3NrKUHqf3WySno+umcLdT0QyjL8gpL2AEwq8dJWVio2y/OzNMw2+Ys6Kk53DmJb 5bEJgezJF65OwYsbq1bAzv+cBZvtzLtHRKYYh6lplYLkJL6YHM9UNF/gNCilaaIMNfLK YlQg== 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=sSTefy8qz5Df4k1Ewt6QCeIL0stB/Yrdf7bRW4IUVKk=; b=mH1TRKYNIOmddqB4KWoJJnDVVakIhTpU9cC2nQrZgPtgwoWcObrYycA/anesIKnWbD dESLCA9HG6sXbOgNCPjBK6WxWcNlMKeP5aesrXiQ0Z3ckxOEOHagi65eBSGrE7hJdOOg oqCuyrVgFrrqh1uWP8VlTewvzGHH6n2pcdMG95IWW/HATcvXTXZxpfiZne6DlEmS9XJa CAYl9HIPgudvbIWPxqh8hU2dpbNWP2cn5Slb7G+G5zmFJCDLeVt2kvO+FXUZBhqo5Ubz OdSOR6kTCd9TsyO0nrmew3XmsfBBZl+7kG1b8xCBaYgRFqokfwm48CbgfWZCpNzd0Xqf Q+eQ== 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 bg3si7069273plb.363.2019.03.08.07.58.41; Fri, 08 Mar 2019 07:58:56 -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; 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 S1726357AbfCHP6Q (ORCPT + 99 others); Fri, 8 Mar 2019 10:58:16 -0500 Received: from mx2.suse.de ([195.135.220.15]:59442 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726171AbfCHP6Q (ORCPT ); Fri, 8 Mar 2019 10:58:16 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A7998AFAF; Fri, 8 Mar 2019 15:58:14 +0000 (UTC) Date: Fri, 8 Mar 2019 16:58:14 +0100 From: Petr Mladek To: Greg Kroah-Hartman Cc: Calvin Owens , John Ogness , Sergey Senozhatsky , Steven Rostedt , Greg Kroah-Hartman , Jonathan Corbet , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 3/4] printk: Add consoles to a virtual "console" bus Message-ID: <20190308155814.rzsjrzgwfcm4p5sk@pathway.suse.cz> References: <087b13f7812b32cc7c3f9efea71c9bcf324dd031.1551486732.git.calvinowens@fb.com> <87ef7ioyzw.fsf@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ef7ioyzw.fsf@linutronix.de> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2019-03-08 03:56:19, John Ogness wrote: > On 2019-03-02, Calvin Owens wrote: > > This patch embeds a device struct in the console struct, and registers > > them on a "console" bus so we can expose attributes in sysfs. > > I expect that "class" would be more appropriate than "bus". These > devices really are grouped together based on their function and not the > medium by which they are accessed. Good point. "class" looks better to me as well. Greg, any opinion, where to put the entries for struct console ? Best Regards, Petr