Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp906279ybl; Thu, 12 Dec 2019 06:46:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzJ6OxzrMtCli9UDdN8A3LTdUv/3ADvNf3/+nkW7CqjZOJdBc0YOI0IJgC5PVG/7bH7Yy8a X-Received: by 2002:a9d:22:: with SMTP id 31mr8083783ota.173.1576162012100; Thu, 12 Dec 2019 06:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576162012; cv=none; d=google.com; s=arc-20160816; b=fQiG/k2MsKAB4RS1A0i1QLu8xSpA+x1YFh0FaouN3ys/+Ss93ZfIpfDEQ2UgGM6D2n 4E122F9t/KLjds2qu9Lp5n9GvhjZcGpmg7DQSDVgMx36ItW3CVo3svAaZAiS1ihIhGdf ODCLIisLsaGykvVy2hTa0amD7qyVCZvQev+FfUKutxGjOCjGVrTUS9Ui57X3/YQ2rg9p QrSIzyRoo6+dJ0YistGO3AwO4aDXBIBHpS+2asRm38B9MhYzpnB6ILjVhz3NpVQA6lX0 mJaN3ysYpBGxKdMtzEslZnEwwOeTy35rt8P4CnJYy/X6aTuOTYdP5epmpR3gD7CFJCpe wERQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=z77/aTlOR+T6odBgtMn9rCNPD5m7nxfvuA5MOo7hBv0=; b=1AK52wkzbFN5nquac5TC8NODPz23CrTAwJTCrdpqlvYGt+v+qTBWoR3FnS/8Z3BLOB apYa06PDl46Xxb8Wt0NMnMs9OwD31HueKPLcf77zrVhb7yo+9izf6+Pibx8tFFcts2GY ffGFuq4pgMXLvSikcr4Q+sSPDQeip0kbbuuyL0xAbqM/FJJqpIyJAEoSSQcX+Z4Yjy1f Cphy2xrMGA/NqyCB45Qw0NiNdd26W/FlGwo83Rw1k1VNPapZV+iUxLwrZVmfpcCYaFz0 Jw6hH7dYK3Ryt0dNvsg0yJeSaugq7dQv+Yh/gyVP9DDML5IZBP9paL9WvWGiY1OGQFt/ io6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="t+w/s12W"; 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 t7si3205806otl.133.2019.12.12.06.46.35; Thu, 12 Dec 2019 06:46:52 -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=@kernel.org header.s=default header.b="t+w/s12W"; 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 S1729526AbfLLOpD (ORCPT + 99 others); Thu, 12 Dec 2019 09:45:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:56756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729266AbfLLOpD (ORCPT ); Thu, 12 Dec 2019 09:45:03 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D8FE521655; Thu, 12 Dec 2019 14:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576161901; bh=NAwMf3cjvdX5Di0bvRBolsXdWtk+PjPn2VPtYeOUmLg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t+w/s12W2DMLxoBQUjb1SCe9HqFlW7MdlIe99OOSJZm0Yq24fhuUKZZ/PnpD3S7ca r/eUteeLUgSzIYX3J1fB4mo/KpPTk9DytudyTrXBiKVUNlmLZKlKqEM5iRbIINvQDV G4b5im20mKr4UF78qZEHmtNCrroHHk+KXXGGtE9g= Date: Thu, 12 Dec 2019 15:44:59 +0100 From: Greg KH To: Vitor Soares Cc: linux-kernel@vger.kernel.org, linux-i3c@lists.infradead.org, Joao.Pinto@synopsys.com, bbrezillon@kernel.org, wsa@the-dreams.de, arnd@arndb.de, broonie@kernel.org Subject: Re: [RFC 5/5] i3c: add i3cdev module to expose i3c dev in /dev Message-ID: <20191212144459.GB1668196@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 10, 2019 at 04:37:33PM +0100, Vitor Soares wrote: > +static int __init i3cdev_init(void) > +{ > + int res; > + > + pr_info("i3c /dev entries driver\n"); Please remove debugging information, kernel code should be quiet unless something goes wrong. > + /* Dynamically request unused major number */ > + res = alloc_chrdev_region(&i3cdev_number, 0, N_I3C_MINORS, "i3c"); Do you really need a whole major, or will a few minors work? thanks, greg k-h