From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgw-ext04.nokia.com ([131.228.20.96]) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1Gplws-0001yA-E9 for linux-mtd@lists.infradead.org; Thu, 30 Nov 2006 08:27:37 -0500 Subject: Re: NOR read/write beyond end of flash partition From: Artem Bityutskiy To: Tigadi Kiran-r10350c In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Date: Thu, 30 Nov 2006 15:27:18 +0200 Message-Id: <1164893238.576.68.camel@sauron> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: linux-mtd@lists.infradead.org Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, On Thu, 2006-11-30 at 18:45 +0530, Tigadi Kiran-r10350c wrote: > But mtd_read routine implemented in the same file does not have this > check. So when I try to read beyond end of NOR MTD partition it is > returning 0.=20 Sounds like a bug, feel free to send a patch against mtd-2.6.git tree. --=20 Best regards, Artem Bityutskiy (=D0=91=D0=B8=D1=82=D1=8E=D1=86=D0=BA=D0=B8=D0=B9 =D0=90= =D1=80=D1=82=D1=91=D0=BC)