<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/kdev_t.h, branch v4.0</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.0</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2012-10-13T09:46:48Z</updated>
<entry>
<title>UAPI: (Scripted) Disintegrate include/linux</title>
<updated>2012-10-13T09:46:48Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2012-10-13T09:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=607ca46e97a1b6594b29647d98a32d545c24bdff'/>
<id>urn:sha1:607ca46e97a1b6594b29647d98a32d545c24bdff</id>
<content type='text'>
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Michael Kerrisk &lt;mtk.manpages@gmail.com&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Acked-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] remove protection of LANANA-reserved majors</title>
<updated>2007-04-05T04:12:47Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2007-04-05T02:08:22Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2363cc0264c42636e9e7622f78dde5c2f66beb8e'/>
<id>urn:sha1:2363cc0264c42636e9e7622f78dde5c2f66beb8e</id>
<content type='text'>
Revert all this.  It can cause device-mapper to receive a different major from
earlier kernels and it turns out that the Amanda backup program (via GNU tar,
apparently) checks major numbers on files when performing incremental backups.

Which is a bit broken of Amanda (or tar), but this feature isn't important
enough to justify the churn.

Cc: Ingo Molnar &lt;mingo@elte.hu&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>[PATCH] rework reserved major handling</title>
<updated>2007-02-21T01:10:13Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@linux-foundation.org</email>
</author>
<published>2007-02-20T21:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b446b60e4eb5e5457120c4728ada871b1209c1d0'/>
<id>urn:sha1:b446b60e4eb5e5457120c4728ada871b1209c1d0</id>
<content type='text'>
Several people have reported failures in dynamic major device number handling
due to the recent changes in there to avoid handing out the local/experimental
majors.

Rolf reports that this is due to a gcc-4.1.0 bug.

The patch refactors that code a lot in an attempt to provoke the compiler into
behaving.

Cc: Rolf Eike Beer &lt;eike-kernel@sf-tec.de&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>[PATCH] 32-bit dev_t: internal use</title>
<updated>2003-09-23T05:52:17Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@www.linux.org.uk</email>
</author>
<published>2003-09-23T05:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=40d2adc65cc233bbbd5437efe1df224b04a5ebf1'/>
<id>urn:sha1:40d2adc65cc233bbbd5437efe1df224b04a5ebf1</id>
<content type='text'>
Starting the conversion:
	* internal dev_t made 32bit.
	* new helpers - new_encode_dev(), new_decode_dev(), huge_encode_dev(),
huge_decode_dev(), new_valid_dev().  They do encoding/decoding of 32bit and
64bit values; for now huge_... are aliases for new_... and new_valid_dev()
is always true.  We do 12:20 for 32bit; representation is compatible with
16bit one - we have major in bits 19--8 and minor in 31--20,7--0.  That's
what the userland sees; internally we have (major &lt;&lt; 20)|minor, of course.
	* MKDEV(), MAJOR() and MINOR() updated.
	* several places used to handle Missed'em'V dev_t (14:18 split)
manually; that stuff had been taken into common helpers.
	Now we can start replacing old_... with new_... and huge_..., depending
on the width available.  MKDEV() callers should (for now) make sure that major
and minor are within 12:20.  That's what the next chunk will do.
</content>
</entry>
<entry>
<title>[PATCH] large dev_t - second series (8/15)</title>
<updated>2003-09-05T03:54:18Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@www.linux.org.uk</email>
</author>
<published>2003-09-05T03:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5900b09861dd856ca475dd444793ff6c671acc84'/>
<id>urn:sha1:5900b09861dd856ca475dd444793ff6c671acc84</id>
<content type='text'>
	kdev_t, to_kdev_t(), etc. are gone - there is no more objects
of that type and no remaining callers of these functions.
</content>
</entry>
<entry>
<title>[PATCH] large dev_t - second series (6/15)</title>
<updated>2003-09-05T03:53:56Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@www.linux.org.uk</email>
</author>
<published>2003-09-05T03:53:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cbac67b10e48a7a76485d405fc723084fdafb6a1'/>
<id>urn:sha1:cbac67b10e48a7a76485d405fc723084fdafb6a1</id>
<content type='text'>
	tty redirect handling sanitized.  Such ttys (/dev/tty and
/dev/console) get a different file_operations; its -&gt;write() handles
redirects; checks for file-&gt;f_op == &amp;tty_fops updated, checks for
major:minor being that of a redirector replaced with check for
-&gt;f_op-&gt;write value.  Piece of code in tty_io.c that had been #if 0
since 0.99&lt;something&gt; had been finally put out of its misery. kdev_val()
is gone.
</content>
</entry>
<entry>
<title>[PATCH] dev_t handling cleanups (1/12)</title>
<updated>2003-08-31T05:50:17Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@www.linux.org.uk</email>
</author>
<published>2003-08-31T05:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=836af7abd26f0b931189abb94b512428a33000d2'/>
<id>urn:sha1:836af7abd26f0b931189abb94b512428a33000d2</id>
<content type='text'>
removed unused kdev_t stuff, fixed a typo left from the
console-&gt;device() conversion.
</content>
</entry>
<entry>
<title>[PATCH] dev_t printing</title>
<updated>2003-08-01T02:56:15Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2003-08-01T02:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=482a947364014aa7962121122e2b6cd4ba462bb8'/>
<id>urn:sha1:482a947364014aa7962121122e2b6cd4ba462bb8</id>
<content type='text'>
From: Greg KH &lt;greg@kroah.com&gt;

Different architectures use different types for dev_t, so it is hard to
print dev_t variables out correctly.  Quite a lot of code is wrong now, and
will continue to be wrong when 64-bit dev_t is merged.

Greg's patch introduces a little wrapper function which can be used to
safely form a dev_t for printing.  I added the format_dev_t function as
well, which is needed for direct insertion in a printk statement.
</content>
</entry>
<entry>
<title>[PATCH] fbdev cleanup</title>
<updated>2003-04-24T15:38:50Z</updated>
<author>
<name>Alexander Viro</name>
<email>viro@parcelfarce.linux.theplanet.co.uk</email>
</author>
<published>2003-04-24T15:38:50Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=18f265661bd9f21573ca50b303191b96cb445c45'/>
<id>urn:sha1:18f265661bd9f21573ca50b303191b96cb445c45</id>
<content type='text'>
	fbdev.node converted from kdev_t to int - all of its users
have register_framebuffer() which sets .node to mk_kdev(FB_MAJOR, index)
already called and all of them start with applying minor().  IOW, what
they actually want is framebuffer number.

	* type of -&gt;node changed to int
	* register_framebuffer() sets it to index instead of mk_kdev(...)
	* users converted from minor(foo.node) to foo.node
	* useless assignments (typically to NODEV) removed - we never
look at that field before register_framebuffer() overwrites it and thus
any assignments prior to register_framebuffer() call are dead code.
</content>
</entry>
<entry>
<title>[PATCH] remove kdevname() before someone starts using it again</title>
<updated>2003-04-01T13:02:55Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2003-04-01T13:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=503aceb1b5f303b54a7210f6df8d628b19c58f01'/>
<id>urn:sha1:503aceb1b5f303b54a7210f6df8d628b19c58f01</id>
<content type='text'>
</content>
</entry>
</feed>
