Linux Kernel Mailing List | 1 Mar 2004 16:44

[PATCH] fix CDROM_SEND_PACKET 32 -> 64-bit translation

ChangeSet 1.1629, 2004/03/01 07:44:38-08:00, axboe <at> suse.de

	[PATCH] fix CDROM_SEND_PACKET 32 -> 64-bit translation
	
	Here's a much better version.  The real bug was of course that the
	get_user/put_user for data_direction were transposed.
	
	This patch also fixes the translation of "quiet" and "timeout" to be
	safer and clearer (instead of memcpying them as two ints and knowing
	that "quiet" is first and assuming that "compat_int_t" is always the
	same as the native "int", the code now handles them explicitly).
	
	We should use "access_ok()" and __get_user/__put_user to generate better
	code for this, but it's not performance-critical, so we don't care.
	Some other day, perhaps.

# This patch includes the following deltas:
#	           ChangeSet	1.1628  -> 1.1629 
#	   fs/compat_ioctl.c	1.19    -> 1.20   
#

 compat_ioctl.c |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff -Nru a/fs/compat_ioctl.c b/fs/compat_ioctl.c
--- a/fs/compat_ioctl.c	Mon Mar  1 09:07:56 2004
+++ b/fs/compat_ioctl.c	Mon Mar  1 09:07:56 2004
 <at>  <at>  -1458,6 +1458,7  <at>  <at> 
 	struct cdrom_generic_command *cgc;
 	struct cdrom_generic_command32 *cgc32;
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2004 20:43

[PATCH] Fix USB printer transfers

ChangeSet 1.1630, 2004/03/01 11:43:06-08:00, greg <at> kroah.com

	[PATCH] Fix USB printer transfers
	
	From Barry K. Nathan
	
	This fixes the ulblp transfer length code, which would otherwise skip
	the final iteration and lead to incomplete printer output (and us
	waiting forever for the transfer to complete)

# This patch includes the following deltas:
#	           ChangeSet	1.1629  -> 1.1630 
#	drivers/usb/class/usblp.c	1.65    -> 1.66   
#

 usblp.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff -Nru a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
--- a/drivers/usb/class/usblp.c	Mon Mar  1 15:06:51 2004
+++ b/drivers/usb/class/usblp.c	Mon Mar  1 15:06:51 2004
 <at>  <at>  -603,7 +603,7  <at>  <at> 
 {
 	DECLARE_WAITQUEUE(wait, current);
 	struct usblp *usblp = file->private_data;
-	int timeout, err = 0, transfer_length;
+	int timeout, err = 0, transfer_length = 0;
 	size_t writecount = 0;

 	while (writecount < count) {
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2004 23:07

[PATCH] ppc64: make "viodev->unit_address" 32-bit

ChangeSet 1.1631, 2004/03/01 14:07:43-08:00, hollisb <at> us.ibm.com

	[PATCH] ppc64: make "viodev->unit_address" 32-bit
	
	vio_dev->unit_address only holds 32 bits of information anyways, so no
	need for 64-bit field.

# This patch includes the following deltas:
#	           ChangeSet	1.1630  -> 1.1631 
#	drivers/net/ibmveth.c	1.1     -> 1.2    
#	arch/ppc64/kernel/vio.c	1.7     -> 1.8    
#	include/asm-ppc64/vio.h	1.3     -> 1.4    
#

 arch/ppc64/kernel/vio.c |    5 ++---
 drivers/net/ibmveth.c   |   10 +++++-----
 include/asm-ppc64/vio.h |    2 +-
 3 files changed, 8 insertions(+), 9 deletions(-)

diff -Nru a/arch/ppc64/kernel/vio.c b/arch/ppc64/kernel/vio.c
--- a/arch/ppc64/kernel/vio.c	Mon Mar  1 15:06:58 2004
+++ b/arch/ppc64/kernel/vio.c	Mon Mar  1 15:06:58 2004
 <at>  <at>  -157,8 +157,7  <at>  <at> 

 	node_vroot = find_devices("vdevice");
 	if ((node_vroot == NULL) || (node_vroot->child == NULL)) {
-		printk(KERN_INFO "VIO: missing or empty /vdevice node; no virtual IO"
-			" devices present.\n");
+		/* this machine doesn't do virtual IO, and that's ok */
 		return 0;
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2004 23:07

[PATCH] ppc64: export vio_find_node()

ChangeSet 1.1632, 2004/03/01 14:07:55-08:00, hollisb <at> us.ibm.com

	[PATCH] ppc64: export vio_find_node()
	
	To hotplug-remove virtual devices, we need vio_find_node() so we have a
	pointer to pass to vio_unregister_device().

# This patch includes the following deltas:
#	           ChangeSet	1.1631  -> 1.1632 
#	arch/ppc64/kernel/vio.c	1.8     -> 1.9    
#

 vio.c |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+)

diff -Nru a/arch/ppc64/kernel/vio.c b/arch/ppc64/kernel/vio.c
--- a/arch/ppc64/kernel/vio.c	Mon Mar  1 15:07:04 2004
+++ b/arch/ppc64/kernel/vio.c	Mon Mar  1 15:07:04 2004
 <at>  <at>  -29,6 +29,8  <at>  <at> 

 #define DBGENTER() pr_debug("%s entered\n", __FUNCTION__)

+extern struct subsystem devices_subsys; /* needed for vio_find_name() */
+
 struct iommu_table *vio_build_iommu_table(struct vio_dev *dev);

 static int vio_num_address_cells;
 <at>  <at>  -297,6 +299,42  <at>  <at> 
 	return get_property((struct device_node *)vdev->archdata, (char*)which, length);
 }
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2004 15:34

SPARC/m68k: Remove sun_setup_serial references, which is already gone.

ChangeSet 1.1612.23.1, 2004/03/01 09:34:23-05:00, bcollins <at> debian.org

	SPARC/m68k: Remove sun_setup_serial references, which is already gone.

# This patch includes the following deltas:
#	           ChangeSet	1.1612.20.2 -> 1.1612.23.1
#	arch/sparc/kernel/setup.c	1.24    -> 1.25   
#	arch/sparc64/mm/init.c	1.54    -> 1.55   
#	arch/m68k/kernel/setup.c	1.22    -> 1.23   
#

 m68k/kernel/setup.c  |    1 -
 sparc/kernel/setup.c |    1 -
 sparc64/mm/init.c    |   10 ----------
 3 files changed, 12 deletions(-)

diff -Nru a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c
--- a/arch/m68k/kernel/setup.c	Mon Mar  1 16:08:19 2004
+++ b/arch/m68k/kernel/setup.c	Mon Mar  1 16:08:19 2004
 <at>  <at>  -39,7 +39,6  <at>  <at> 
 #endif
 #ifdef CONFIG_SUN3X
 #include <asm/dvma.h>
-extern void sun_serial_setup(void);
 #endif

 unsigned long m68k_machtype;
diff -Nru a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c
--- a/arch/sparc/kernel/setup.c	Mon Mar  1 16:08:19 2004
+++ b/arch/sparc/kernel/setup.c	Mon Mar  1 16:08:19 2004
(Continue reading)

Linux Kernel Mailing List | 1 Mar 2004 15:36

http://linux.bkbits.net/linux-2.5

ChangeSet 1.1622.1.7, 2004/03/01 09:36:17-05:00, bcollins <at> debian.org

	Merge http://linux.bkbits.net/linux-2.5
	into debian.org:/usr/src/kernel/sparc-2.6

# This patch includes the following deltas:
#	           ChangeSet	1.1622.1.6+1.1612.23.1 -> 1.1622.1.7
#

 0 files changed

Linux Kernel Mailing List | 1 Mar 2004 18:58

Merge bk://bk.phunnypharm.org/sparc-2.6

ChangeSet 1.1622.1.8, 2004/03/01 09:58:35-08:00, davem <at> nuts.davemloft.net

	Merge bk://bk.phunnypharm.org/sparc-2.6
	into nuts.davemloft.net:/disk1/BK/sparc-2.6

# This patch includes the following deltas:
#	           ChangeSet	1.1622.1.7+1.1622.3.1 -> 1.1622.1.8
#

 0 files changed

Linux Kernel Mailing List | 2 Mar 2004 00:24

Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk

ChangeSet 1.1625, 2004/03/01 15:24:01-08:00, torvalds <at> ppc970.osdl.org

	Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
	into ppc970.osdl.org:/home/torvalds/v2.5/linux

# This patch includes the following deltas:
#	           ChangeSet	1.1624+1.1622.4.4 -> 1.1625 
#

 0 files changed

Linux Kernel Mailing List | 2 Mar 2004 00:26

Merge bk://gkernel.bkbits.net/net-drivers-2.5

ChangeSet 1.1627, 2004/03/01 15:26:36-08:00, torvalds <at> ppc970.osdl.org

	Merge bk://gkernel.bkbits.net/net-drivers-2.5
	into ppc970.osdl.org:/home/torvalds/v2.5/linux

# This patch includes the following deltas:
#	           ChangeSet	1.1626+1.1612.10.17 -> 1.1627 
#

 0 files changed

Linux Kernel Mailing List | 1 Mar 2004 19:36

Merge davem <at> nuts.davemloft.net:/disk1/BK/sparc-2.6

ChangeSet 1.1622.1.9, 2004/03/01 10:36:11-08:00, davem <at> kernel.bkbits.net

	Merge davem <at> nuts.davemloft.net:/disk1/BK/sparc-2.6
	into kernel.bkbits.net:/home/davem/sparc-2.6

# This patch includes the following deltas:
#	           ChangeSet	1.1622.1.8+1.1622.4.1 -> 1.1622.1.9
#

 0 files changed


Gmane