• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: コミット

2.4.36-stable kernel tree


コミットメタ情報

リビジョン33a9787bd7dca9340e2735962de65e2c7c48285e (tree)
日時2006-08-14 00:19:25
作者Willy Tarreau <w@1wt....>
コミッターWilly Tarreau

ログメッセージ

[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

変更サマリ

差分

--- a/drivers/isdn/hisax/hfc_pci.c
+++ b/drivers/isdn/hisax/hfc_pci.c
@@ -1742,7 +1742,7 @@ setup_hfcpci(struct IsdnCard *card)
17421742 /* Allocate memory for FIFOS */
17431743 /* Because the HFC-PCI needs a 32K physical alignment, we */
17441744 /* need to allocate the double mem and align the address */
1745- if (!((void *) cs->hw.hfcpci.share_start = kmalloc(65536, GFP_KERNEL))) {
1745+ if (!(cs->hw.hfcpci.share_start = kmalloc(65536, GFP_KERNEL))) {
17461746 printk(KERN_WARNING "HFC-PCI: Error allocating memory for FIFO!\n");
17471747 return 0;
17481748 }
旧リポジトリブラウザで表示