Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp872930rwb; Thu, 22 Sep 2022 07:26:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6IsgxcQnyNXH2O3gWBYgIAGtCDl2NmufYZXnVyM/tE9h0EEBi85lId5ltxvHqYaxA5Np1J X-Received: by 2002:a05:6402:1cc1:b0:453:1517:94e4 with SMTP id ds1-20020a0564021cc100b00453151794e4mr3615839edb.399.1663856759966; Thu, 22 Sep 2022 07:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663856759; cv=none; d=google.com; s=arc-20160816; b=rK03sVZ1mbJwnRaTN8dIb/IVs44MHtNo5afRo4F85biyxiS2PZSWAl7/IAi55n7PCu mIzRL2UCjnA6bkRvbiUfWPcB8cKLnfdplrX9j035jYY5h3QxoSRHrvISSrljzrXpTscI KMzLQKwvmgJIsNI32HhC3YBtHLkjvMwHng5EvkBTrHcn7Qg4Kq2kvsK4kFhxTJQSBB1/ aKIeKohpm/56MNGTU6cYmUPtoaAaF0Q0baTU1xh3fcPdILHLmZqCf3Nf+W9NIBJSiHuL KXw+7YjzGIC9IJQ4r1v/9owgpn7yub8DxIP5HG5Fzrodvy3aku0IdNTJmID1C3wnP5Zp XiSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=xquEvF32oZeAy+4+ZGxnweXGIHjmVmhHF1L4vIqjJ0Y=; b=AHqoa7BRYr3WKNtJe7Yjh79p4q6crnwrXEyqkxBESufapS/DoUF4706M3x+1yO+Ihh huvgZ2HTgfglCKYuPygkRMQFkyFbEjGffGsnh6l3LvPg4BRdVo5EjF1InLRdlH/hGw+j ahOkqUTVhbSV77GLfzaIiD/odow+oNlgYkCaCvgJLRuVR8DGDVFXjA8Zh1gVLjRT8HV8 iZCF/VmxUUZyBu1gQMXBHfKTSTG/RjGFxU/cPYg7XvqPrz1ag6iPYQLgeSS54/8RxZd8 b0dWuHYCWFnqDXn4bAErrr8pIeVSUCsmDTZkhEsf27qJT+1DLFuP6rW9vpUuO7ySoUgI OPjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="UoOo/s4w"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=TqCt7hVW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a1709064c8100b007386f4ab2a2si136619eju.638.2022.09.22.07.25.33; Thu, 22 Sep 2022 07:25:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b="UoOo/s4w"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=TqCt7hVW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229969AbiIVN5S (ORCPT + 99 others); Thu, 22 Sep 2022 09:57:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230432AbiIVN5Q (ORCPT ); Thu, 22 Sep 2022 09:57:16 -0400 Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2341E94129 for ; Thu, 22 Sep 2022 06:57:15 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 9E1B2580B6C; Thu, 22 Sep 2022 09:57:12 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Thu, 22 Sep 2022 09:57:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1663855032; x=1663858632; bh=xquEvF32oZ eAy+4+ZGxnweXGIHjmVmhHF1L4vIqjJ0Y=; b=UoOo/s4wMqQWmtf7QYMPz3NuV8 hNEU/xh3YLEuueCw1HJ51Gppzjl2NeGUjm4OE+DdOq6u15Uwi3uiM8g9wbgMqy9X Y8uxHUXPFUF1P16YmPOBcKNk1zVRipJnEu5o8NKU6Xb1aM9p+Z31u6AWNBKn4xLg 5meNYWA5BrBgyRfPy4pv5irc7agJ4OqHHrl88pv/Wk8tG7FZeSNUr3M9jJV0ZDuP W8ylB3jZZ+h6t1gvS8nY27IupkKVAx8N0zcd/LJVan1flx0Q3sL7DCSuPzeZQix/ VK3vXYAL1nZSNSPCDHqwRn0RguZ4WNY1GVpdaJwrskZfRdo/KfUik4Pvg0/Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663855032; x=1663858632; bh=xquEvF32oZeAy+4+ZGxnweXGIHjm VmhHF1L4vIqjJ0Y=; b=TqCt7hVW0SqiylQqk5CErjpjo6XuZ3ppZ8Sbht4ZghDC 5d4dvPEFVVkRabin5Hczpcdpl8QJw6xTugUfNWyg05XtIQIkUmPEPt4HwQknYSGD 6mSSBffriLsBraY994pKXuMJLEHnSleB5MPEhaj+T2KJENyNK0Yt9no1IaK0/9qe JaIYxl3+4LzgD8mtsvbh7nTlOewXit1p7eXxb/Se3vnzADBz+vqzfKSDsduXVLPS 0weLpelPz3SyVHn9k0NFOZE/DnYStvRGmRNu5AKfZ9s39Py2bjIQJ+kDWCNlbfMz DS2qprC+YwNPeHMXQAeQUaD+u2UmBAhd7CJTW+7JRg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefgedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id D5C45B60086; Thu, 22 Sep 2022 09:57:11 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4 Mime-Version: 1.0 Message-Id: <51275e33-c791-4593-84d1-eedad27d7fd6@www.fastmail.com> In-Reply-To: <20220917234918.8b94d2690b8533bd47cf64e0@samsung.com> References: <20220917072356.2255620-1-jiho.chu@samsung.com> <20220917072356.2255620-2-jiho.chu@samsung.com> <20220917234918.8b94d2690b8533bd47cf64e0@samsung.com> Date: Thu, 22 Sep 2022 15:56:51 +0200 From: "Arnd Bergmann" To: "Jiho Chu" Cc: "Greg Kroah-Hartman" , ogabbay@kernel.org, "Krzysztof Kozlowski" , "Mark Brown" , linux-kernel@vger.kernel.org, yelini.jeong@samsung.com, myungjoo.ham@samsung.com Subject: Re: [PATCH v2 01/13] trinity: Add base driver Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 17, 2022, at 4:49 PM, Jiho Chu wrote: > On Sat, 17 Sep 2022 09:41:13 +0200 > "Arnd Bergmann" wrote: >> >> If you have the need to manage multiple devices here, maybe use >> a dynamic major number and have the chardev code allocate the >> minor numbers, instead of using multiple misc devices and >> doing that yourself. >> > > I'm little confusing. It means that managing own char devices is proper, > not using misc device? But, it's still under misc dir. There is no strict connection between miscdevices and drivers/misc. The former is for drivers that tend to have only one instance in a system, while the latter is for drivers that do not have a separate subsystem. Arnd