[module, buffer] Fix coding style