Message ID | 02c021ee6306877ea63d6db0a314564ac7843882.camel@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 089866061428ec9bf67221247c936792078c41a4 |
Headers | show
Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A68D57EE for <nvdimm@lists.linux.dev>; Fri, 1 Jul 2022 23:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656716851; x=1688252851; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=yAFkjqp65vGq9TyOlwqax/ouugB0SXICT8VQS1JhWmM=; b=RQvBJHxWg7WZ7lZ3XQQtvUnPPexhy5XiLffcOehPkEONdcxCV79wKFME zprR/Cw9SzLyFY67UDTCPk/lSBwYxcWnPWG2nMoVLOJNfKJ0NHilNoGPm Te2pkLTksKhsScqYqMdHrShLJTP9YgHGBFE30fD+rBwz5lPJkpB2WDrgz r56gBnd82fIfcMnwhnpyclcUYesxuSE1HEUVrNTumgIagKFNmOUfcVDLc ykT2ugXxWMX+tMpi8ThPl+ZksH0VOVfivOeeXT+8D4PCTC6uQi5g+llfp Nvc5EabA6OxeTXngY6WR5Pzm8OzSujeQjHLRYZxVWBuo8FPWe7r91sFlf w==; X-IronPort-AV: E=McAfee;i="6400,9594,10395"; a="344444842" X-IronPort-AV: E=Sophos;i="5.92,238,1650956400"; d="scan'208";a="344444842" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2022 16:07:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,238,1650956400"; d="scan'208";a="648525901" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga008.fm.intel.com with ESMTP; 01 Jul 2022 16:07:30 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 1 Jul 2022 16:07:30 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Fri, 1 Jul 2022 16:07:29 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Fri, 1 Jul 2022 16:07:29 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Fri, 1 Jul 2022 16:07:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lAgN/Xr4QWKIRamAQ9osY21W9jGqvBrLxK72G0ScWZo3JwCfIgSCHF4N8o5Yue1ORDW3OuTvOIBVj2HSinjw3lZiH+2q1oPkNnsWkD63B6rgxjx0CC/zxP3b7QqC9mnk+paQ61pe20XQ728YC+0dWu3OVduf4e86zwWrcHPgYXMbRo9kNgFYO0IYfmMxWCg7t/+HmN3npXOud+Shm2LN/b7CLGRu7F8dlLPYEl0S7azeOCKjttk/aFhzm8fo/YLfBrx8HTHXxjdelDCECEX6nMrBWliexCWI30nVptM754e888kG0mtwgcQRhGXbupurtQy+eLAkUZy1jPZiKkrvAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yAFkjqp65vGq9TyOlwqax/ouugB0SXICT8VQS1JhWmM=; b=FW+FC94bLNdOQzX9g7ZMk2Wmhah23d/dwVZu9Bh9J9MRZ2RuqhVx5qdKVw95cqKu7qO0640SfJ0Z/KWtubrWm+7GoEOKFxwumGidxD0MkvS902FQOqXG8g2aLD8I5gY1aLavVb9fmw5qcqCXaXDeAWBPGtpctI+8rZolvTQDn1EXZtpTsI59esIfdZBHnqS+wiacH7F4g31JD8d3EiiXqmfBB9dyfecz2XgV9CdBEFX+3/oZm/t1bC0aayrxfkVW+26FysBHGz50sQ2o/lwCbZhIv/ewYnjCu8s8pjnlD3hWZwamxPVUGsKg0ExK59DHJr2QbRJJ9tcYZcBjunIUKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MN2PR11MB3999.namprd11.prod.outlook.com (2603:10b6:208:154::32) by SN6PR11MB3088.namprd11.prod.outlook.com (2603:10b6:805:ce::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Fri, 1 Jul 2022 23:07:27 +0000 Received: from MN2PR11MB3999.namprd11.prod.outlook.com ([fe80::61f9:fcc7:c6cb:7e17]) by MN2PR11MB3999.namprd11.prod.outlook.com ([fe80::61f9:fcc7:c6cb:7e17%5]) with mapi id 15.20.5395.015; Fri, 1 Jul 2022 23:07:26 +0000 From: "Verma, Vishal L" <vishal.l.verma@intel.com> To: "Torvalds, Linus" <torvalds@linux-foundation.org> CC: "Williams, Dan J" <dan.j.williams@intel.com>, "nvdimm@lists.linux.dev" <nvdimm@lists.linux.dev>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Subject: [GIT PULL] nvdimm fixes v5.19-rc5 Thread-Topic: [GIT PULL] nvdimm fixes v5.19-rc5 Thread-Index: AQHYjZ9UlHqcwwuC2U6IO4LPOjcYYg== Date: Fri, 1 Jul 2022 23:07:26 +0000 Message-ID: <02c021ee6306877ea63d6db0a314564ac7843882.camel@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.2 (3.44.2-1.fc36) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7eba9b8a-eb16-4b16-693c-08da5bb67737 x-ms-traffictypediagnostic: SN6PR11MB3088:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NIYX/JXkGWVZ/VdCsTJ5AruX8rhE3NO/7H3EHmdKGpL/7RZi4wilb5i28MFqDVyHn5nBKDDZDeDiH9XNhca5MnlD2c8GAcUhN7Ixev0T7C+va1GR6YdLXdwCjEiTKZsbOI1PEK1JD5fkC/12U+b/DUCES9tIvOzvcd+QkaKNGrUErvpZlCrD+VJGsO8Xux+ZLmjjledRm/G0wpBr+unmImpD67cVzW5gG2M7WQE8n/nfLsP0WbSI5LwarGR4qlrANmQBxW7cYf+Z1S3LIU/MKf129pncdZDXMbuTbz3oHhkT4/+aJE7MtU/d9vJ3q0LigcMCwLP+514dbUmH2YUpgSXomcMoN5Yx0qcB9TE4tgsIwhVtuWJytO07vPWN+zYS7OnD7T1B2sVsk77kJ8aBG4bNhKHJZ7LfpQyjRlAHfgGHV1U8AQUnJLGEQ1gqVxFlKuGbLwXJUoVpBWHY/IhN3cAs28WikJ+tg7bDZNM3dmI7Z50vwayJAc1uIQZnztBcQxfHhtSHZ7aZKWg/q5fcsPg2UEJugW/7MUGIJF9/O+CnzeC9wawVsb6GZXXPAlbd8emDSRd9qxifJJ8xAsHhPlNR6q5xFw5VRUBm5b2u09nOmSU0RFYSUIoAi7B3l8bTVnZv5n3urKfkabKy4lsubdYe0uL3pjaoZZyf0iT5gqdJ3Ydtlo/ZijmZiZZXSak+Bqpy5Pg4KIt2HCUzpbPibtrPjc3r68XRd1po+GTj8rc23b8ntKyVsaduR0MehclkKABy2gdYN5qcSdGbXJFxOncgpZwNP4weyzXyljb6q4qlJLbPcp7qb5l/LNMtOYd8 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR11MB3999.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(376002)(39860400002)(396003)(366004)(136003)(346002)(4326008)(2906002)(64756008)(76116006)(8676002)(71200400001)(86362001)(91956017)(66446008)(66476007)(66946007)(66556008)(8936002)(5660300002)(316002)(54906003)(36756003)(122000001)(26005)(478600001)(82960400001)(41300700001)(186003)(6512007)(6916009)(2616005)(6486002)(6506007)(83380400001)(38100700002)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?NDEAzToMuOJHw35Xy83FLZHMejN2?= =?utf-8?q?57iNgYUFHL6o3r9vHG0A98KYuXm4n+ZaFpCkKwp4TfH4i3C2jwA/VTnmnQUmVPmQX?= =?utf-8?q?JeEe3H9Zyhhb+Fu5FRJHQtNjYA9GASBp/tOIOUEfyY+UCgkxh5jUbLAyAUetH+crC?= =?utf-8?q?EkgX/mUXYopVEyGSKyisGmWRXSZXsyusthiVE6SniMwa6l5ZT4hL78lgeXznXgU1Q?= =?utf-8?q?4BTGoNOobaQiZirJ+KSclWBb6r6jE7nLJh+5W6hR+VMQ4adxUl6InoAdaZj9ad14m?= =?utf-8?q?D1h1CtcJSKCzhC5504S5g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rsf6o6ojQf3dC6JCncXodZf8Y5iomgbmBBzXtQwS2OemFZ1SkJk?= =?utf-8?q?RKmxmylna8qh+kmxGf6qXoP1FuTozCXElTR8ZSXjmm7xGHT9Eo5UtoZLPMvw26LbS?= =?utf-8?q?Uw4v7PIVJZGV/DZiX9xbA3b/jEUmnVT5X4PpZrl4cd5at52UmcVX9aCC7e/99YLTr?= =?utf-8?q?y7izsDX1EWla2HpuoZZcll0nI6Yk7Lt0Okr0Q2BCyE6QdxTqrRdmGSa1vI7ly3jPo?= =?utf-8?q?+sDpftFosBbesppCB3P9idGgV27QpvLJzn+m0CV6urIvRJaf7cw3hwuctjl1neHEi?= =?utf-8?q?5fyd5s2gLc+m6zaoDRqndhbQ3zeCaSEsKdCTYOZP6ddyFNgoR9roXC8eDUI7ecN3I?= =?utf-8?q?MyKZgSruUGH8gqh8kbNGEzk8GX2Km1YdnA=3D=3D?= Content-Type: text/plain; charset="utf-8" Content-ID: <6DF3103888C0B14D89A1780BB69122F2@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: <nvdimm.lists.linux.dev> List-Subscribe: <mailto:nvdimm+subscribe@lists.linux.dev> List-Unsubscribe: <mailto:nvdimm+unsubscribe@lists.linux.dev> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3999.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7eba9b8a-eb16-4b16-693c-08da5bb67737 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2022 23:07:26.8485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4PAWD8CaW+AIXEIkigl/Idoy8n0y9lgxl8Pp3Cf7FjFh/FY+aL/wHJ2N/i1eSNS6bSp0qlILIBBoB30Nx53twxQB0YUlNoTLvVqDc9bjIYM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3088 X-OriginatorOrg: intel.com |
Series |
[GIT,PULL] nvdimm fixes v5.19-rc5
|
expand
|
The pull request you sent on Fri, 1 Jul 2022 23:07:26 +0000:
> git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-5.19-rc5
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/089866061428ec9bf67221247c936792078c41a4
Thank you!
diff --git a/drivers/nvdimm/bus.c b/drivers/nvdimm/bus.c index a4fc17db707c..b38d0355b0ac 100644 --- a/drivers/nvdimm/bus.c +++ b/drivers/nvdimm/bus.c @@ -176,8 +176,8 @@ static int nvdimm_clear_badblocks_region(struct device *dev, void *data) ndr_end = nd_region->ndr_start + nd_region->ndr_size - 1; /* make sure we are in the region */ - if (ctx->phys < nd_region->ndr_start - || (ctx->phys + ctx->cleared) > ndr_end) + if (ctx->phys < nd_region->ndr_start || + (ctx->phys + ctx->cleared - 1) > ndr_end) return 0; sector = (ctx->phys - nd_region->ndr_start) / 512;