From 33a9787bd7dca9340e2735962de65e2c7c48285e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 13 Aug 2006 11:44:18 +0200 Subject: [GCC4] fix build error in drivers/isdn/hisax/hfc_pci.c This patch fixes this error with gcc 4 : hfc_pci.c: In function 'setup_hfcpci': hfc_pci.c:1745: error: invalid lvalue in assignment --- drivers/isdn/hisax/hfc_pci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index 01cf494..9c0607b 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c @@ -1742,7 +1742,7 @@ #if CONFIG_PCI /* Allocate memory for FIFOS */ /* Because the HFC-PCI needs a 32K physical alignment, we */ /* need to allocate the double mem and align the address */ - if (!((void *) cs->hw.hfcpci.share_start = kmalloc(65536, GFP_KERNEL))) { + if (!(cs->hw.hfcpci.share_start = kmalloc(65536, GFP_KERNEL))) { printk(KERN_WARNING "HFC-PCI: Error allocating memory for FIFO!\n"); return 0; } -- 1.4.2