Bug 16604

Summary: staging/spectra fails to build
Product: Drivers Reporter: Michal Suchanek (hramrach)
Component: Flash/Memory Technology DevicesAssignee: David Woodhouse (dwmw2)
Status: CLOSED WILL_NOT_FIX    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.36-rc1 Subsystem:
Regression: No Bisected commit-id:

Description Michal Suchanek 2010-08-16 11:10:51 UTC
/usr/bin/make -j5 EXTRAVERSION=-rc1-amd64  ARCH=x86_64 \
			     modules
make[1]: Entering directory `/scratch/linux-2.6.36-rc1'
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC [M]  drivers/staging/spectra/ffsport.o
  CC [M]  drivers/staging/spectra/lld.o
drivers/staging/spectra/ffsport.c:116:1: warning: "GLOB_VERSION" redefined
In file included from drivers/staging/spectra/flash.h:24,
                 from drivers/staging/spectra/ffsport.h:47,
                 from drivers/staging/spectra/ffsport.c:20:
drivers/staging/spectra/spectraswconfig.h:24:1: warning: this is the location of the previous definition
drivers/staging/spectra/ffsport.c: In function ‘SBD_prepare_flush’:
drivers/staging/spectra/ffsport.c:277: error: ‘REQ_TYPE_LINUX_BLOCK’ undeclared (first use in this function)
drivers/staging/spectra/ffsport.c:277: error: (Each undeclared identifier is reported only once
drivers/staging/spectra/ffsport.c:277: error: for each function it appears in.)
drivers/staging/spectra/ffsport.c:279: error: ‘REQ_LB_OP_FLUSH’ undeclared (first use in this function)
drivers/staging/spectra/ffsport.c: In function ‘do_transfer’:
drivers/staging/spectra/ffsport.c:299: error: ‘REQ_TYPE_LINUX_BLOCK’ undeclared (first use in this function)
drivers/staging/spectra/ffsport.c:300: error: ‘REQ_LB_OP_FLUSH’ undeclared (first use in this function)
drivers/staging/spectra/ffsport.c: At top level:
drivers/staging/spectra/ffsport.c:604: error: unknown field ‘locked_ioctl’ specified in initializer
drivers/staging/spectra/ffsport.c: In function ‘SBD_setup_device’:
drivers/staging/spectra/ffsport.c:654: error: too many arguments to function ‘blk_queue_ordered’
make[4]: *** [drivers/staging/spectra/ffsport.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [drivers/staging/spectra] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/staging] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/scratch/linux-2.6.36-rc1'
make: *** [debian/stamp/build/kernel] Error 2
Comment 1 Alan 2012-05-12 16:14:01 UTC
Its gone