<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mtd/inftlcore.c, branch v2.6.39-rc2</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v2.6.39-rc2</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v2.6.39-rc2'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2010-08-08T19:58:20Z</updated>
<entry>
<title>mtd: Update copyright notices</title>
<updated>2010-08-08T19:58:20Z</updated>
<author>
<name>David Woodhouse</name>
<email>David.Woodhouse@intel.com</email>
</author>
<published>2010-08-08T19:58:20Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=a1452a3771c4eb85bd779790b040efdc36f4274e'/>
<id>urn:sha1:a1452a3771c4eb85bd779790b040efdc36f4274e</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6</title>
<updated>2010-03-26T14:55:59Z</updated>
<author>
<name>David Woodhouse</name>
<email>David.Woodhouse@intel.com</email>
</author>
<published>2010-03-26T14:55:59Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=329f9052dbadf6f4afe2231668bd00c579a4aa10'/>
<id>urn:sha1:329f9052dbadf6f4afe2231668bd00c579a4aa10</id>
<content type='text'>
Conflicts:
	drivers/mtd/nand/sh_flctl.c

Maxim's patch to initialise sysfs attributes depends on the patch which
actually adds sysfs_attr_init().
</content>
</entry>
<entry>
<title>mtd: blktrans: Hotplug fixes</title>
<updated>2010-02-26T17:05:26Z</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-02-22T18:39:30Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=048d87199566663e4edc4880df3703c04bcf41d9'/>
<id>urn:sha1:048d87199566663e4edc4880df3703c04bcf41d9</id>
<content type='text'>
* Add locking where it was missing.

* Don't do a get_mtd_device in blktrans_open because it would lead to a
  deadlock; instead do that in add_mtd_blktrans_dev.

* Only free the mtd_blktrans_dev structure when the last user exits.

* Flush request queue on device removal.

* Track users, and call tr-&gt;release in del_mtd_blktrans_dev
  Due to that -&gt;open and release aren't called more that once.

Now it is safe to call del_mtd_blktrans_dev while the device is still in use.

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>tree wide: remove execute flag from .c files</title>
<updated>2010-02-04T10:55:44Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>sebastian@breakpoint.cc</email>
</author>
<published>2009-12-16T22:13:44Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=c14e522b1aab6a1a3765db182aacca4f359f6d91'/>
<id>urn:sha1:c14e522b1aab6a1a3765db182aacca4f359f6d91</id>
<content type='text'>
Signed-off-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>mtd: inftl: fix fold chain block number</title>
<updated>2009-09-19T21:17:35Z</updated>
<author>
<name>Mohanlal Jangir</name>
<email>mohanlaljangir@gmail.com</email>
</author>
<published>2009-09-03T13:56:17Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde'/>
<id>urn:sha1:6ad08ddd9e8b85ad6c49eeb6c5d940ccdd119bde</id>
<content type='text'>
Signed-off-by: Mohan Lal Jangir &lt;mohanlaljangir@gmail.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: Use BLOCK_NIL consistently in NFTL/INFTL</title>
<updated>2009-06-27T08:22:10Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2009-06-27T07:55:32Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=70ec3bb8ea3f8c55b255f41d122c7d4d8c0d00b4'/>
<id>urn:sha1:70ec3bb8ea3f8c55b255f41d122c7d4d8c0d00b4</id>
<content type='text'>
Use BLOCK_NIL consistently rather than sometimes 0xffff and sometimes
BLOCK_NIL.

The semantic patch that finds this issue is below
(http://www.emn.fr/x-info/coccinelle/).  On the other hand, the changes
were made by hand, in part because drivers/mtd/inftlcore.c contains dead
code that causes spatch to ignore a relevant function.  Specifically, the
function INFTL_findwriteunit contains a do-while loop, but always takes a
return that leaves the loop on the first iteration.

// &lt;smpl&gt;
@r exists@
identifier f,C;
@@

f(...) { ... return C; }

@s@
identifier r.C;
expression E;
@@

@@
identifier r.f,r.C,I;
expression s.E;
@@

f(...) {
 &lt;...
(
  I
|
- E
+ C
)
 ...&gt;
}

// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] update internal API to support 64-bit device size</title>
<updated>2008-12-10T13:37:21Z</updated>
<author>
<name>Adrian Hunter</name>
<email>ext-adrian.hunter@nokia.com</email>
</author>
<published>2008-12-10T13:37:21Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=69423d99fc182a81f3c5db3eb5c140acc6fc64be'/>
<id>urn:sha1:69423d99fc182a81f3c5db3eb5c140acc6fc64be</id>
<content type='text'>
MTD internal API presently uses 32-bit values to represent
device size.  This patch updates them to 64-bits but leaves
the external API unchanged.  Extending the external API
is a separate issue for several reasons.  First, no one
needs it at the moment.  Secondly, whether the implementation
is done with IOCTLs, sysfs or both is still debated.  Thirdly
external API changes require the internal API to be accepted
first.

Note that although the MTD API will be able to support 64-bit
device sizes, existing drivers do not and are not required
to do so, although NAND base has been updated.

In general, changing from 32-bit to 64-bit values cause little
or no changes to the majority of the code with the following
exceptions:
    	- printk message formats
    	- division and modulus of 64-bit values
    	- NAND base support
	- 32-bit local variables used by mtdpart and mtdconcat
	- naughtily assuming one structure maps to another
	in MEMERASE ioctl

Signed-off-by: Adrian Hunter &lt;ext-adrian.hunter@nokia.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] [INFTL] Fix infinite loop in INFTL_foldchain</title>
<updated>2008-10-08T10:26:38Z</updated>
<author>
<name>Daniel Rosenthal</name>
<email>danielrosenthal@acm.org</email>
</author>
<published>2008-10-05T21:43:10Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=63fd7f30f328f99956d3c774d17219c3c8d54131'/>
<id>urn:sha1:63fd7f30f328f99956d3c774d17219c3c8d54131</id>
<content type='text'>
When iterating over a chain in reverse (oldest block first), this
patch correctly marks the PUtable[] entry of the second to last erase
block of a chain as BLOCK_NIL, regardless of whether or not it can
format the last block successfully. Before, the second to last block
was only marked as pointing to BLOCK_NIL if INFTL_formatblock()
succeeded on the last block of the chain, which could potentially
result in an infinite loop if the block was worn out and refused to
format.

Signed-off-by: Daniel Rosenthal &lt;danielrosenthal@acm.org&gt;
Acked-by: Greg Ungerer &lt;gerg@snapgear.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>MTD/JFFS2: remove CVS keywords</title>
<updated>2008-06-04T16:50:17Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-05-19T22:03:52Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=59018b6d2acabb114ab58637e6ab95ba424a89d0'/>
<id>urn:sha1:59018b6d2acabb114ab58637e6ab95ba424a89d0</id>
<content type='text'>
Once upon a time, the MTD repository was using CVS.

This patch therefore removes all usages of the no longer updated CVS
keywords from the MTD code.

This also includes code that printed them to the user.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] replace kmalloc+memset with kzalloc</title>
<updated>2006-11-28T23:47:21Z</updated>
<author>
<name>Burman Yan</name>
<email>yan_952@hotmail.com</email>
</author>
<published>2006-11-15T19:10:29Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=95b93a0cd46682c6d9e8eea803fda510cb6b863a'/>
<id>urn:sha1:95b93a0cd46682c6d9e8eea803fda510cb6b863a</id>
<content type='text'>
Signed-off-by: Yan Burman &lt;yan_952@hotmail.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
</feed>
