diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
commit | 975fba8a24263006afbbb4e38dd6bf515bdf4b43 (patch) | |
tree | da30cbbe5e5f3c775029e38108f63aa8b8cd17b7 /sys/pci/pcisupport.c | |
parent | 4cc7d69521756e89ce3e5ea28211fda13fc4c9ff (diff) | |
download | FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.zip FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/pci/pcisupport.c')
-rw-r--r-- | sys/pci/pcisupport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c index ee19a44..d23965f 100644 --- a/sys/pci/pcisupport.c +++ b/sys/pci/pcisupport.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcisupport.c,v 1.88 1999/01/26 04:54:38 peter Exp $ +** $Id: pcisupport.c,v 1.89 1999/01/27 20:09:21 dillon Exp $ ** ** Device driver for DEC/INTEL PCI chipsets. ** @@ -383,7 +383,7 @@ chipset_probe (pcici_t tag, pcidi_t type) return ("NEC 003B PCI to PC-98 C-bus bridge"); }; - if (descr = generic_pci_bridge(tag)) + if ((descr = generic_pci_bridge(tag)) != NULL) return descr; return NULL; |