rpms/kernel/F-10 kernel.spec, 1.1150, 1.1151 linux-2.6-cdrom-door-status.patch, 1.2, 1.3

Chuck Ebbert cebbert at fedoraproject.org
Tue Nov 18 02:31:22 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7862

Modified Files:
	kernel.spec linux-2.6-cdrom-door-status.patch 
Log Message:
Fix missing parens in the cdrom-door-status patch.


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1150
retrieving revision 1.1151
diff -u -r1.1150 -r1.1151
--- kernel.spec	17 Nov 2008 20:16:28 -0000	1.1150
+++ kernel.spec	18 Nov 2008 02:30:52 -0000	1.1151
@@ -1921,6 +1921,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Mon Nov 17 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.5-115
+- Fix missing parens in the cdrom-door-status patch.
+
 * Mon Nov 17 2008 Dave Airlie <airlied at redhat.com> 2.6.27.5-114
 - make pci_slot modular by default to avoid boot spew when acpiphp has bound
 

linux-2.6-cdrom-door-status.patch:

Index: linux-2.6-cdrom-door-status.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/linux-2.6-cdrom-door-status.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- linux-2.6-cdrom-door-status.patch	9 Oct 2008 18:18:52 -0000	1.2
+++ linux-2.6-cdrom-door-status.patch	18 Nov 2008 02:30:52 -0000	1.3
@@ -27,7 +27,7 @@
  		return CDS_DISC_OK;
  
 +	/* SK/ASC/ASCQ of 2/4/1 means "unit is becoming ready" */
-+	if (scsi_sense_valid(&sshdr) & sshdr.sense_key == NOT_READY
++	if ((scsi_sense_valid(&sshdr) & sshdr.sense_key) == NOT_READY
 +			&& sshdr.asc == 0x04 && sshdr.ascq == 0x01)
 +		return CDS_DRIVE_NOT_READY;
 +




More information about the fedora-extras-commits mailing list