From patchwork Thu Apr 27 08:56:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Nan X-Patchwork-Id: 8708 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp129657vqo; Thu, 27 Apr 2023 02:01:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7u1vRW7TSgoqrKKBcP15PzJoihbiNMTbrmY9lPKEm5rDQ9izhgzd+nC3tIreNZhd/0dhzt X-Received: by 2002:a17:90b:957:b0:246:896a:408d with SMTP id dw23-20020a17090b095700b00246896a408dmr1163002pjb.14.1682586098541; Thu, 27 Apr 2023 02:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682586098; cv=none; d=google.com; s=arc-20160816; b=uxf9rhusiSebaOEyBC7HS9gTBOV8LQpClmvLDzBhGhv/lEAH2AL8/cWErOsxbhr7m7 XienOjKAYwhJo5IlbtklsikLubxSB2U8229q7WXLYba5MdgRvi4fvFm1mPRNtunU8FfX EAALro6SUhHsNLG79RYTzas/4PFf+6fWne+hbFZTyNHaTP1S+fRYGtycxFExD7Fb5Sjr 9ltRFfUnz+EpJpsfcVqVBDYXy+OLp2B/2ZEyml6lYmJDhyVCDkvjK+y1Tzf9+ytKDM4W UP1IBaD4VIj03SzvHXu4QjdT9aazuweUAzZXruJ9N5XuVmofReFdVwmGy+SWGmDAYLiO k6LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=eeSPsXvuo7mSkik7qnE87mze3HUGh76J69jYIaULGLI=; b=E0vqPp6bBYOj5T1mE8sFwZaGLTa3grwh6kz0op/E/oeIdy5vi05DOJkiy+sjJiin6q pyEqdcIJSCuJrNAKC9uCrng8A6XpY3Hvq8HhBqlYpzhMa1ejX7iWbWnU9pvzBfBlTchW FwTV7H3GfppH4lBl3bZLqGtQ9x2Yvd0A9TE3GhQqHlj7lpbO+/OId3ACMd0lpFHGAAnl JfmHEiTmk4oyCxicnliVrlCQPFC1w7xRDrmSvejaAF83+YYquSyYKzFhkSWFsIOlMA0F 83hhOhsEiJHhiK2Aaznf2XhesAUUiIf5JPrM2sqey9dIE6Qd+jgkrXhBC+EDalfPt4W0 Z1NA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a17090a190600b002476dde42c7si18090008pjg.170.2023.04.27.02.01.20; Thu, 27 Apr 2023 02:01:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243051AbjD0I5S (ORCPT + 99 others); Thu, 27 Apr 2023 04:57:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242675AbjD0I5O (ORCPT ); Thu, 27 Apr 2023 04:57:14 -0400 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6395B30FC; Thu, 27 Apr 2023 01:57:12 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4Q6V3m05nyz4f3jHW; Thu, 27 Apr 2023 16:57:08 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.127.227]) by APP4 (Coremail) with SMTP id gCh0CgBH_rHjOEpkmCsBIQ--.37560S4; Thu, 27 Apr 2023 16:57:09 +0800 (CST) From: linan666@huaweicloud.com To: song@kernel.org, neilb@suse.de, Rob.Becker@riverbed.com Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, linan122@huawei.com, yukuai3@huawei.com, yi.zhang@huawei.com, houtao1@huawei.com, yangerkun@huawei.com Subject: [PATCH 0/3] md: bugfix of writing raid sysfs Date: Thu, 27 Apr 2023 16:56:09 +0800 Message-Id: <20230427085612.1346752-1-linan666@huaweicloud.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: gCh0CgBH_rHjOEpkmCsBIQ--.37560S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYv7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4 x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1lnxkEFVAIw20F6cxK64vIFxWle2I262IYc4CY 6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr 0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0E wIxGrwACI402YVCY1x02628vn2kIc2xKxwAKzVCY07xG64k0F24l42xK82IYc2Ij64vIr4 1l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK 67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI 8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAv wI8IcIk0rVWrJr0_WFyUJwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I 0E14v26r4UJVWxJrUvcSsGvfC2KfnxnUUI43ZEXa7IU1kpnJUUUUU== X-CM-SenderInfo: polqt0awwwqx5xdzvxpfor3voofrz/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764319400521132935?= X-GMAIL-MSGID: =?utf-8?q?1764319400521132935?= From: Li Nan The patch series fix the bug of writing raid sysfs. Li Nan (3): md/raid10: fix slab-out-of-bounds in md_bitmap_get_counter md/raid10: fix overflow in safe_delay_store md/raid10: fix wrong setting of max_corr_read_errors drivers/md/md-bitmap.c | 2 ++ drivers/md/md.c | 68 +++++++++++++++++++++++++++--------------- drivers/md/raid10.c | 4 +-- 3 files changed, 48 insertions(+), 26 deletions(-)