<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/mtdchar.c, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-08-11T22:47:41Z</updated>
<entry>
<title>mtdchar build fix</title>
<updated>2007-08-11T22:47:41Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2007-08-10T20:01:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c1eafdb063a3701eff24d21eb245e3b1d4ac7df'/>
<id>urn:sha1:0c1eafdb063a3701eff24d21eb245e3b1d4ac7df</id>
<content type='text'>
sh:

drivers/mtd/mtdchar.c: In function `mtd_mmap':
drivers/mtd/mtdchar.c:817: error: dereferencing pointer to incomplete type
drivers/mtd/mtdchar.c:817: error: `VM_SHARED' undeclared (first use in this function)
drivers/mtd/mtdchar.c:817: error: (Each undeclared identifier is reported only once

Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[MTD] Fix length comparison in MEMREADOOB</title>
<updated>2007-04-17T17:40:00Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2007-04-13T17:50:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=408b483d9cc2d839ecbc9134958c42814865081c'/>
<id>urn:sha1:408b483d9cc2d839ecbc9134958c42814865081c</id>
<content type='text'>
The ops.len member is not initialized, because it is unused for this
operation. The length check needs to use ops.ooblen instead

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.infradead.org/mtd-2.6</title>
<updated>2007-02-19T21:34:11Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2007-02-19T21:34:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4935361766cc73949fe032cd157d314f288922ba'/>
<id>urn:sha1:4935361766cc73949fe032cd157d314f288922ba</id>
<content type='text'>
* git://git.infradead.org/mtd-2.6: (49 commits)
  [MTD] [NAND] S3C2412 fix hw ecc
  [MTD] [NAND] Work around false compiler warning in CAFÉ driver
  [JFFS2] printk warning fixes
  [MTD] [MAPS] ichxrom warning fix
  [MTD] [MAPS] amd76xrom warning fix
  [MTD] [MAPS] esb2rom warning fixes
  [MTD] [MAPS] ck804xrom warning fix
  [MTD] [MAPS] netsc520 warning fix
  [MTD] [MAPS] sc520cdp warning fix
  [MTD] [ONENAND] onenand_base warning fix
  [MTD] [NAND] eXcite nand flash driver
  [MTD] Improve heuristic for detecting wrong-endian RedBoot partition table
  [MTD] Fix RedBoot partition parsing regression harder.
  [MTD] [NAND] S3C2410: Hardware ECC correction code
  [JFFS2] Use MTD_OOB_AUTO to automatically place cleanmarker on NAND
  [MTD] Clarify OOB-operation interface comments
  [MTD] remove unused ecctype,eccsize fields from struct mtd_info
  [MTD] [NOR] Intel: remove ugly PROGREGION macros
  [MTD] [NOR] STAA: use writesize instead off eccsize to represent ECC block
  [MTD] OneNAND: Invalidate bufferRAM after erase
  ...
</content>
</entry>
<entry>
<title>[PATCH] mark struct file_operations const 5</title>
<updated>2007-02-12T17:48:45Z</updated>
<author>
<name>Arjan van de Ven</name>
</author>
<published>2007-02-12T08:55:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d54b1fdb1d9f82e375a299e22bd366aad52d4c34'/>
<id>urn:sha1:d54b1fdb1d9f82e375a299e22bd366aad52d4c34</id>
<content type='text'>
Many struct file_operations in the kernel can be "const".  Marking them const
moves these to the .rodata section, which avoids false sharing with potential
dirty data.  In addition it'll catch accidental writes at compile time to
these shared resources.

Signed-off-by: Arjan van de Ven &lt;arjan@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[MTD] remove unused ecctype,eccsize fields from struct mtd_info</title>
<updated>2007-02-09T15:27:12Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2007-01-30T08:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64f60710568db5cec1a76c1d1e261b239f9ef809'/>
<id>urn:sha1:64f60710568db5cec1a76c1d1e261b239f9ef809</id>
<content type='text'>
Remove unused and broken mtd-&gt;ecctype and mtd-&gt;eccsize fields
from struct mtd_info. Do not remove them from userspace API
data structures (don't want to breake userspace) but mark them
as obsolete by a comment. Any userspace program which uses them
should be half-broken anyway, so this is more about saving
data structure size.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
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>
</author>
<published>2006-10-11T11:52:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
<entry>
<title>[MTD] replace kmalloc+memset with kzalloc</title>
<updated>2006-11-28T23:47:21Z</updated>
<author>
<name>Burman Yan</name>
</author>
<published>2006-11-15T19:10:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
<entry>
<title>[MTD] [NAND] remove len/ooblen confusion.</title>
<updated>2006-11-28T22:39:03Z</updated>
<author>
<name>Vitaly Wool</name>
</author>
<published>2006-11-03T15:20:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7014568bad55c20b7ee4f439d78c9e875912d51f'/>
<id>urn:sha1:7014568bad55c20b7ee4f439d78c9e875912d51f</id>
<content type='text'>
As was discussed between Ricard Wanderlöf, David Woodhouse, Artem 
Bityutskiy and me, the current API for reading/writing OOB is confusing. 

The thing that introduces confusion is the need to specify ops.len 
together with ops.ooblen for reads/writes that concern only OOB not data 
area. So, ops.len is overloaded: when ops.datbuf != NULL it serves to 
specify the length of the data read, and when ops.datbuf == NULL, it 
serves to specify the full OOB read length.

The patch inlined below is the slightly updated version of the previous 
patch serving the same purpose, but with the new Artem's comments taken 
into account.

Artem, BTW, thanks a lot for your valuable input!

Signed-off-by: Vitaly Wool &lt;vwool@ru.mvista.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] mtdchar: Fix MEMGETOOBSEL and ECCGETLAYOUT ioctls</title>
<updated>2006-10-21T15:33:17Z</updated>
<author>
<name>Ricard Wanderlöf</name>
</author>
<published>2006-10-17T15:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d25ade71ef80e6312b3e0b53583db518ebb11798'/>
<id>urn:sha1:d25ade71ef80e6312b3e0b53583db518ebb11798</id>
<content type='text'>
1. The ECCGETLAYOUT ioctl copy_to_user() call has a superfluous '&amp;'
causing the resulting information to be garbage rather than the intended
mtd-&gt;ecclayout.

2. The MEMGETOOBSEL misses copying mtd-&gt;ecclayout-&gt;eccbytes so the
resulting field of the returned structure contains garbage.

Signed-off-by: Ricard Wanderlöf &lt;ricardw@axis.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>[MTD] Use SEEK_{SET,CUR,END} instead of hardcoded values in mtdchar lseek()</title>
<updated>2006-09-17T16:04:23Z</updated>
<author>
<name>Josef 'Jeff' Sipek</name>
</author>
<published>2006-09-17T01:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea59830db01b6b3d6bda9f84e3d272a346115e8e'/>
<id>urn:sha1:ea59830db01b6b3d6bda9f84e3d272a346115e8e</id>
<content type='text'>
Signed-off-by: Josef 'Jeff' Sipek &lt;jeffpc@josefsipek.net&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
</feed>
