Re: [PATCH] ceph: minor coding style tweaks

2021-02-04 Thread Jeff Layton
On Thu, 2021-02-04 at 15:54 +0800, Zhiyuan Dai wrote: > Fixed some coding style issues, improve code reading. > 1. Move the pointer location > 2. Move brace position > 3. Alignment to open parenthesis > > This patch adds whitespace to clearly separate the parameters. > > Signed-off-by: Zhiyuan Da

[PATCH] ceph: minor coding style tweaks

2021-02-03 Thread Zhiyuan Dai
Fixed some coding style issues, improve code reading. 1. Move the pointer location 2. Move brace position 3. Alignment to open parenthesis This patch adds whitespace to clearly separate the parameters. Signed-off-by: Zhiyuan Dai --- fs/ceph/addr.c | 3 +-- fs/ceph/cache.c | 14 +

Re: [PATCH] ceph: minor coding style tweaks

2021-02-03 Thread Joe Perches
On Thu, 2021-02-04 at 14:32 +0800, Zhiyuan Dai wrote: > Fixed some coding style issues, improve code reading. Might describe the patch does 3 things: o Move the pointer location struct foo* bar; -> struct foo *bar; o Move brace position from struct foo { to str

[PATCH] ceph: minor coding style tweaks

2021-02-03 Thread Zhiyuan Dai
Fixed some coding style issues, improve code reading. Signed-off-by: Zhiyuan Dai --- fs/ceph/addr.c | 3 +-- fs/ceph/cache.c | 14 +++--- fs/ceph/caps.c | 2 +- fs/ceph/dir.c| 6 +++--- fs/ceph/export.c | 2 +- fs/ceph/inode.c | 6 +++--- fs/ceph/lo