<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mtd/maps/nettel.c, branch v3.4.2</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/mtd/maps/nettel.c?h=v3.4.2</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/mtd/maps/nettel.c?h=v3.4.2'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-05-25T01:25:00Z</updated>
<entry>
<title>mtd: convert remaining users to mtd_device_register()</title>
<updated>2011-05-25T01:25:00Z</updated>
<author>
<name>Jamie Iles</name>
<email>jamie@jamieiles.com</email>
</author>
<published>2011-05-23T09:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ee0e87b174bb41f0310cf089262bf5dd8f95a212'/>
<id>urn:sha1:ee0e87b174bb41f0310cf089262bf5dd8f95a212</id>
<content type='text'>
The older add_mtd_device()/add_mtd_partitions() and their removal
counterparts will soon be gone.  Replace uses with mtd_device_register()
and mtd_device_unregister().

Signed-off-by: Jamie Iles &lt;jamie@jamieiles.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] [MAPS] Fix printk format warning in nettel.c</title>
<updated>2009-01-09T14:17:50Z</updated>
<author>
<name>David Woodhouse</name>
<email>David.Woodhouse@intel.com</email>
</author>
<published>2009-01-09T14:17:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=85795dac740e63e81aeec8d49aada54ab07656b5'/>
<id>urn:sha1:85795dac740e63e81aeec8d49aada54ab07656b5</id>
<content type='text'>
MTD size is 64-bit now...

Pointed out by Randy Dunlap &lt;randy.dunlap@oracle.com&gt;

Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>[MTD] drivers/mtd/maps/nettel.c: use ARRAY_SIZE</title>
<updated>2008-12-10T16:10:17Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2008-12-01T22:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=002f6aab43c0e556ee5f588d138587de6a3ed63d'/>
<id>urn:sha1:002f6aab43c0e556ee5f588d138587de6a3ed63d</id>
<content type='text'>
ARRAY_SIZE is more concise to use when the size of an array is divided by
the size of its type or the size of its first element.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// &lt;smpl&gt;
@i@
@@

#include &lt;linux/kernel.h&gt;

@depends on i using "paren.iso"@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(E[...]))
+ ARRAY_SIZE(E)
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&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://git.amat.us/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/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://git.amat.us/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] [MAPS] Cleanup nettel map driver</title>
<updated>2007-06-28T22:02:59Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2007-06-28T22:02:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=663d77a7ccfd407cf7491dbd53c7c17eef58c96a'/>
<id>urn:sha1:663d77a7ccfd407cf7491dbd53c7c17eef58c96a</id>
<content type='text'>
- make 2 needlessly global functions static
- remove the unused nettel_eraseconfig()

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Cc: Greg Ungerer &lt;gerg@snapgear.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] Remove references to ROOT_DEV from map drivers.</title>
<updated>2007-06-28T19:13:27Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@infradead.org</email>
</author>
<published>2007-06-28T19:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4854b75c7795604ea6a0b6b7f549f145813343d0'/>
<id>urn:sha1:4854b75c7795604ea6a0b6b7f549f145813343d0</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>Fix occurrences of "the the "</title>
<updated>2007-05-09T06:57:56Z</updated>
<author>
<name>Michael Opdenacker</name>
<email>michael@free-electrons.com</email>
</author>
<published>2007-05-09T06:57:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=59c51591a0ac7568824f541f57de967e88adaa07'/>
<id>urn:sha1:59c51591a0ac7568824f541f57de967e88adaa07</id>
<content type='text'>
Signed-off-by: Michael Opdenacker &lt;michael@free-electrons.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[MTD] Remove trailing whitespace</title>
<updated>2006-11-30T08:17:38Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@infradead.org</email>
</author>
<published>2006-11-30T08:17:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c9ac5977299dd106ddb759e7e10035770dff185b'/>
<id>urn:sha1:c9ac5977299dd106ddb759e7e10035770dff185b</id>
<content type='text'>
The newly-added cafe_ecc.c had a lot of it because of the way the lookup
table was auto-generated; clean up the other files too while we're at it.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] return error code from get_mtd_device()</title>
<updated>2006-11-29T15:06:38Z</updated>
<author>
<name>Artem Bityutskiy</name>
<email>dedekind@infradead.org</email>
</author>
<published>2006-10-11T11:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9c74034f8fc5d93fbe5656421cbbdc4c76ddda28'/>
<id>urn:sha1:9c74034f8fc5d93fbe5656421cbbdc4c76ddda28</id>
<content type='text'>
get_mtd_device() returns NULL in case of any failure. Teach it to return an
error code instead. Fix all users as well.

Signed-off-by: Artem Bityutskiy &lt;dedekind@infradead.org&gt;
</content>
</entry>
</feed>
