[PATCH 0/3] fs: dlm: Fix some issues related to a buffer in dlm_create_debug_file()

Christophe JAILLET posted 3 patches 2 years, 2 months ago
fs/dlm/debug_fs.c | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
[PATCH 0/3] fs: dlm: Fix some issues related to a buffer in dlm_create_debug_file()
Posted by Christophe JAILLET 2 years, 2 months ago
The goal of this serie is to remove a warning when building with W=1.
(details in patch 2)

Patch 1 is a preparation step. It is a no-op. The generated code is the same.
Patch 2 is the real fix.
Patch 3 is an additionnal clean-up.

Christophe JAILLET (3):
  fs: dlm: Simplify buffer size computation in dlm_create_debug_file()
  fs: dlm: Fix the size of a buffer in dlm_create_debug_file()
  fs: dlm: Remove some useless memset()

 fs/dlm/debug_fs.c | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

-- 
2.34.1