]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/rio/rioroute.c
libata: Avoid overflow in ata_tf_to_lba48() when tf->hba_lbal > 127
[linux-2.6-omap-h63xx.git] / drivers / char / rio / rioroute.c
index 85091ff74d968452dd5fc91e3851be346357f04d..706c2a25f7aa137de5f732df4fd62f1c605da178 100644 (file)
@@ -29,9 +29,6 @@
 **
 ** -----------------------------------------------------------------------------
 */
-#ifdef SCCS_LABELS
-static char *_rioroute_c_sccs_ = "@(#)rioroute.c       1.3";
-#endif
 
 #include <linux/module.h>
 #include <linux/slab.h>
@@ -526,7 +523,7 @@ void RIOFixPhbs(struct rio_info *p, struct Host *HostP, unsigned int unit)
                         ** If RTA is not powered on, the tx packets will be
                         ** unset, so go no further.
                         */
-                       if (PortP->TxStart == 0) {
+                       if (!PortP->TxStart) {
                                rio_dprintk(RIO_DEBUG_ROUTE, "Tx pkts not set up yet\n");
                                rio_spin_unlock_irqrestore(&PortP->portSem, flags);
                                break;