mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
The current version of generate-kernel-patch does not remove preprocessor statements that should have been removed because intended for another kernel version (surrounded by #if LINUX_VERSION_CODE ... KERNEL_VERSION(...) / #endif). The patch below fixes this. I have verified the patch below by comparing the patch generated by the old and the new versions of the generate-kernel-patch script: $ diff p1 p2 7190d7189 < +#if defined(EXTRACHECKS) 7196c7195,7196 < +#endif --- > > + > > + 13056d13055 < +#ifdef STRICT_SERIALIZING 13058d13056 < +#elif !defined(SCSI_EXEC_REQ_FIFO_DEFINED) 13060d13057 < +#else 13062c13059,13062 < +#endif --- > > + > > + > > + > > + Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@392 d57e44dd-8a1f-0410-8b47-8ef2f437770f