Proper file extensions help 'copyright header checker' find files
that should contain copyright info. Extensions also clearly indicate
file type, and help to fit in with the file naming convention.
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
Since commit 51dc893fc1 every script must take care about adding a semicolon at
the end of compilable line of code
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
Allows for faster configuration in known environments
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
1. When generating cas_blk_rq_append_bio, check whether a
version with double pointer compiles successfully. This
is a better criteria than the version with single pointer
since the latter may compile successfully regardless of
kernel blk_rq_append_bio prototype.
2. Always provide single pointer to cas_blk_rq_append_bio
macro - its up to cas_blk_rq_append_bio implementation to
decide whether extra level of indirection is needed.
This fixes compilation with kernel 4.14.98.
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
To prevent using macros before they are defined, enfoce calling them in an
appropriate order.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>