mbox series

[0/2] bcache paches for Linux v5.16 (2nd wave)

Message ID 20211029060930.119923-1-colyli@suse.de (mailing list archive)
Headers show
Series bcache paches for Linux v5.16 (2nd wave) | expand

Message

Coly Li Oct. 29, 2021, 6:09 a.m. UTC
Hi Jens,

This is the second wave of bcache patches for Linux v5.16.

The first patch is suggested by Arnd Bergmann and Christoph
Hellwig that the bcache.h should not belong to include/uapi/
directory, and I compose the change.

The second patch is code cleanup to remove coccicheck warning
which suggests to use scnprintf to replace snprintf(), Qing
Wang posts the change to remove the warning by using sysfs_emit().

Please take them for Linux v5.16 and thanks in advance.

Coly Li 
---

Coly Li (1):
  bcache: move uapi header bcache.h to bcache code directory

Qing Wang (1):
  bcache: replace snprintf in show functions with sysfs_emit

 drivers/md/bcache/bcache.h                     |  2 +-
 .../md/bcache/bcache_ondisk.h                  |  0
 drivers/md/bcache/bset.h                       |  2 +-
 drivers/md/bcache/features.c                   |  2 +-
 drivers/md/bcache/features.h                   |  3 ++-
 drivers/md/bcache/sysfs.h                      | 18 ++++++++++++++++--
 drivers/md/bcache/util.h                       | 17 -----------------
 7 files changed, 21 insertions(+), 23 deletions(-)
 rename include/uapi/linux/bcache.h => drivers/md/bcache/bcache_ondisk.h (100%)

Comments

Jens Axboe Oct. 29, 2021, 12:43 p.m. UTC | #1
On Fri, 29 Oct 2021 14:09:28 +0800, Coly Li wrote:
> This is the second wave of bcache patches for Linux v5.16.
> 
> The first patch is suggested by Arnd Bergmann and Christoph
> Hellwig that the bcache.h should not belong to include/uapi/
> directory, and I compose the change.
> 
> The second patch is code cleanup to remove coccicheck warning
> which suggests to use scnprintf to replace snprintf(), Qing
> Wang posts the change to remove the warning by using sysfs_emit().
> 
> [...]

Applied, thanks!

[1/2] bcache: move uapi header bcache.h to bcache code directory
      commit: cf2197ca4b8c199d188593ca6800ea1827c42171
[2/2] bcache: replace snprintf in show functions with sysfs_emit
      commit: 1b86db5f4e025840e0bf7cef2b10e84531954386

Best regards,