From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ernst.netinsight.se ([194.16.221.21]) by bombadil.infradead.org with smtp (Exim 4.69 #1 (Red Hat Linux)) id 1N89mS-0007kp-Fo for linux-mtd@lists.infradead.org; Wed, 11 Nov 2009 09:46:30 +0000 Date: Wed, 11 Nov 2009 10:46:15 +0100 From: Simon Kagstrom To: dedekind1@gmail.com Subject: Re: [PATCH v13 4/4]: mtdoops: refactor as a kmsg_dumper Message-ID: <20091111104615.2ea67205@marrow.netinsight.se> In-Reply-To: <1257869493.21596.809.camel@localhost> References: <20091015094057.7298e0d7@marrow.netinsight.se> <20091029133535.2ea65f72@marrow.netinsight.se> <20091029134123.348b5126@marrow.netinsight.se> <1257233392.21596.48.camel@localhost> <20091103141903.23d0d0be@marrow.netinsight.se> <1257869493.21596.809.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-mtd List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 10 Nov 2009 18:11:33 +0200 > Do we really need this notifiers? Would not it be better to open mtd > device straight in the module_init function instead? If the mtdoops driver is built into the kernel, module_init might be (and I believe will be) called before the MTD partitions have been created. With the MTD notifiers, this problem is worked around. // Simon