snu-csl / nvmevirt

NVMeVirt: A Versatile Software-defined Virtual NVMe Device
Other
182 stars 54 forks source link

Miscellaneous clean-ups #3

Closed arter97 closed 1 year ago

arter97 commented 1 year ago

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.

beowulf commented 1 year ago

Thanks for cleaning up the mess in the code! Every commit seems valid and good.

beowulf commented 1 year ago

Closed by mistake...