···215215 else216216 mask = 0x0b003c66;217217218218- if (request_region(gpio_base, CS5535_GPIO_SIZE, NAME) == 0) {218218+ if (!request_region(gpio_base, CS5535_GPIO_SIZE, NAME)) {219219 printk(KERN_ERR NAME ": can't allocate I/O for GPIO\n");220220 return -ENODEV;221221 }
+1-1
drivers/char/n_hdlc.c
···501501 __FILE__,__LINE__, count);502502503503 /* This can happen if stuff comes in on the backup tty */504504- if (n_hdlc == 0 || tty != n_hdlc->tty)504504+ if (!n_hdlc || tty != n_hdlc->tty)505505 return;506506507507 /* verify line is using HDLC discipline */
+1-1
drivers/char/rio/rioroute.c
···526526 ** If RTA is not powered on, the tx packets will be527527 ** unset, so go no further.528528 */529529- if (PortP->TxStart == 0) {529529+ if (!PortP->TxStart) {530530 rio_dprintk(RIO_DEBUG_ROUTE, "Tx pkts not set up yet\n");531531 rio_spin_unlock_irqrestore(&PortP->portSem, flags);532532 break;
+1-1
drivers/firmware/iscsi_ibft_find.c
···5858 unsigned int len = 0;5959 void *virt;60606161- ibft_addr = 0;6161+ ibft_addr = NULL;62626363 for (pos = IBFT_START; pos < IBFT_END; pos += 16) {6464 /* The table can't be inside the VGA BIOS reserved space,
+1-1
drivers/mtd/maps/plat-ram.c
···209209 /* probe for the right mtd map driver210210 * supplied by the platform_data struct */211211212212- if (pdata->map_probes != 0) {212212+ if (pdata->map_probes) {213213 const char **map_probes = pdata->map_probes;214214215215 for ( ; !info->mtd && *map_probes; map_probes++)