Skip to contentSkip to conversation

compile fix for cpm uart driver

PATCH New Andreas Oberritter 1 participant 1 message Jul 19, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compile fix for cpm uart driver

Hi,

cpm_uart_cpm1.c doesn't compile due to a missing bracket (linuxppc-2.5 tree). Please apply.

===== drivers/serial/cpm_uart/cpm_uart_cpm1.c 1.4 vs edited =====

drivers/serial/cpm_uart/cpm_uart_cpm1.c +1 -1
@@ -138,7 +138,7 @@
 
 	dpmemsz = sizeof(cbd_t) * (pinfo->rx_nrfifos + pinfo->tx_nrfifos);
 	dp_offset = cpm_dpalloc(dpmemsz, 8);
-	if (IS_DPERR(dp_offset))
+	if (IS_DPERR(dp_offset)) {
 		printk(KERN_ERR
 		       "cpm_uart_cpm1.c: could not allocate buffer descriptors\n");
 		return -ENOMEM;