mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-01 04:46:15 +00:00
scst_exec_req_fifo-2.6.30.patch applied, the following warning is printed many times by the compiler: include/linux/scatterlist.h:223: warning: ‘enum km_type’ declared inside parameter list include/linux/scatterlist.h:223: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/scatterlist.h:226: warning: ‘enum km_type’ declared inside parameter list The patch below fixes these compiler warnings by adding a forward declaration for "enum km_type" in include/linux/scatterlist.h. Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@963 d57e44dd-8a1f-0410-8b47-8ef2f437770f