All pastes #29192 Raw Edit

Someone

public text v1 · immutable
#29192 ·published 2005-11-19 06:26 UTC
rendered paste body
/home/anarchy/zd1211-svn/src/zd1205.c:1791: warning: 'sw_tcb' may be used uninitialized in this function
  CC [M]  /home/anarchy/zd1211-svn/src/zdasocsvc.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdauthreq.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdauthrsp.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdmmrx.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdshared.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdhci.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdglobal.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdencrypt.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdpmfilter.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdpsmon.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdsynch.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdbuf.o
  CC [M]  /home/anarchy/zd1211-svn/src/zd1205_proc.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdhw.o
  CC [M]  /home/anarchy/zd1211-svn/src/zddebug.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdtkipseed.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdmic.o
  CC [M]  /home/anarchy/zd1211-svn/src/zdusb.o
  CC [M]  /home/anarchy/zd1211-svn/src/zd1211.o
/home/anarchy/zd1211-svn/src/zd1211.c: In function 'zd1211_ChangeToFlashAble':
/home/anarchy/zd1211-svn/src/zd1211.c:261: warning: implicit declaration of function 'request_firmware'
/home/anarchy/zd1211-svn/src/zd1211.c:268: error: dereferencing pointer to incomplete type
/home/anarchy/zd1211-svn/src/zd1211.c:269: error: dereferencing pointer to incomplete type
/home/anarchy/zd1211-svn/src/zd1211.c:272: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
/home/anarchy/zd1211-svn/src/zd1211.c: In function 'zd1211_Download_IncludeFile':
/home/anarchy/zd1211-svn/src/zd1211.c:3174: error: 'WS11Ub' undeclared (first use in this function)
/home/anarchy/zd1211-svn/src/zd1211.c:3174: error: (Each undeclared identifier is reported only once
/home/anarchy/zd1211-svn/src/zd1211.c:3174: error: for each function it appears in.)
/home/anarchy/zd1211-svn/src/zd1211.c:3192: error: dereferencing pointer to incomplete type
/home/anarchy/zd1211-svn/src/zd1211.c:3193: error: dereferencing pointer to incomplete type
/home/anarchy/zd1211-svn/src/zd1211.c:3196: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
make[2]: *** [/home/anarchy/zd1211-svn/src/zd1211.o] Error 1
make[1]: *** [_module_/home/anarchy/zd1211-svn] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r1'
make: *** [all] Error 2



#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,8))
        	fw_file = ZD_FIRMWARE_IMAGE_WS11UPhm;
        	ret = request_firmware(&fw_entry, fw_file, &macp->usb->dev);
       	 	if (ret) {
         	       printk(KERN_ERR "Failed to load %s firmware file!\n", fw_file);
         	       printk(KERN_ERR "Make sure the hotplug firmware loader is installed.\n");
         	       return ret;
        	}

        	data = fw_entry->data;
        	len = fw_entry->size;
        
        	printk(KERN_ERR "Got firmware %s\n", fw_file);
	        printk(KERN_ERR "length %d\n", len);
	
		ret = zd1211_LoadUSBSpecCode(macp, data, len, cFIRMWARE_START_ADDR, true);
#else
                LoadRet = zd1211_LoadUSBSpecCode(macp, WS11UPhm, sizeof(WS11UPhm), cFIRMWARE_START_ADDR, true);
#endif