From patchwork Fri Oct 29 06:08:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Coly Li X-Patchwork-Id: 12591809 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E580BC433EF for ; Fri, 29 Oct 2021 06:09:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFECF6108F for ; Fri, 29 Oct 2021 06:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231890AbhJ2GLb (ORCPT ); Fri, 29 Oct 2021 02:11:31 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:38756 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231774AbhJ2GLb (ORCPT ); Fri, 29 Oct 2021 02:11:31 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 1F6F52197B; Fri, 29 Oct 2021 06:09:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1635487742; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=WhzDd96nzOHiE2906ADz7sOy5TbCepmSxuDcsXYmAyQ=; b=sOZHNlBGjrGH4KVepCjZdmtLF2Rz4Mrk6Kqc02cqibmooweS+izsCVhNj4b/zuqV9ht1IZ c94N8iiQDljKSDqaCbSihaBQaL9ApaDnNplYwTUF8EbOdCFsZee/BPvNRP7DksJFCNKj3S u6sNTElyq5hekqGuQ5IpVD8ZLlWNex8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1635487742; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=WhzDd96nzOHiE2906ADz7sOy5TbCepmSxuDcsXYmAyQ=; b=I0dgfy3xbiLjUdd7QUYSXh0NcSZRyuWTtiDkv+lHjUiK3HvAmKlvuca37JzizFrKlzIxRz RvLZof9pevGBP1BA== Received: from suse.localdomain (unknown [10.163.16.22]) by relay2.suse.de (Postfix) with ESMTP id A9494A3B81; Fri, 29 Oct 2021 06:09:00 +0000 (UTC) From: Coly Li To: axbeo@kernel.dk Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, Coly Li Subject: [PATCH 0/2] bcache paches for Linux v5.16 (2nd wave) Date: Fri, 29 Oct 2021 14:08:49 +0800 Message-Id: <20211029060851.119872-1-colyli@suse.de> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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%)