I'm currently hacking around NVMeVirt but in the mean time, there were some trivial coding style and compiler warnings that I needed to fix for my environment.
As the code style clean-up was somewhat large, I'm sending this PR so that my future local merges can be trivial enough.
You can use the clang-format -i *.c *.h command to format the code to be inline with upstream's standard.
Also, I've changed the memmap_start and memmap_size parameters work like memmap. Size is calculated through memparse() helper function.
Hi, everyone.
I'm currently hacking around NVMeVirt but in the mean time, there were some trivial coding style and compiler warnings that I needed to fix for my environment.
As the code style clean-up was somewhat large, I'm sending this PR so that my future local merges can be trivial enough.
You can use the
clang-format -i *.c *.h
command to format the code to be inline with upstream's standard.Also, I've changed the memmap_start and memmap_size parameters work like memmap. Size is calculated through memparse() helper function.
Thanks.