Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1683500

Re: [PATCH v5 3/5] mtd: handle partitioning on devices with 0 erasesize

From Brian Norris <computersforpeace@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 3/5] mtd: handle partitioning on devices with 0 erasesize
Date 2017-07-08 03:20 +0200
Message-ID <u0MzF-3Su-11@gated-at.bofh.it> (permalink)
References <tNLrH-3yD-3@gated-at.bofh.it> <tNLrI-3yD-23@gated-at.bofh.it> <tZmHf-2yO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 04, 2017 at 03:22:52AM +0000, Chris Packham wrote:
> I had someone mention to me in passing that mtdinfo was failing for them 
> (crashing with some floating point error). I'm wondering if we've 
> created a divide-by-zero problem by reporting 0 erase size in /proc/mtd. 
> I don't have any other info and right now I don't have access to the 
> system I had with the mchp23lcv1024 sram.

Wouldn't be that surprising. mtdinfo is actually developed under the
"ubi-utils" directory of mtd-utils, and UBI wouldn't know what to do
with and SRAM like that.

Brian

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 3/5] mtd: handle partitioning on devices with 0  erasesize Chris Packham <Chris.Packham@alliedtelesis.co.nz> - 2017-07-04 05:30 +0200
  Re: [PATCH v5 3/5] mtd: handle partitioning on devices with 0  erasesize Brian Norris <computersforpeace@gmail.com> - 2017-07-08 03:20 +0200

csiph-web