]> Gentwo Git Trees - linux/.git/commitdiff
cxl: fix typos in cdat.c comments
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Sat, 11 Oct 2025 18:30:44 +0000 (11:30 -0700)
committerDave Jiang <dave.jiang@intel.com>
Mon, 3 Nov 2025 16:16:03 +0000 (09:16 -0700)
- Corrected spelling of "bandwdith" -> "bandwidth"
- Fixed "wht" -> "with"

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/cdat.c

index c4bd6e8a0cf03174bb00e3d5d61aae6170eb38ef..7120b5f2e31feb98d3750deea3408c0c15311250 100644 (file)
@@ -826,7 +826,7 @@ static struct xarray *cxl_switch_gather_bandwidth(struct cxl_region *cxlr,
                cxl_coordinates_combine(coords, coords, ctx->coord);
 
                /*
-                * Take the min of the calculated bandwdith and the upstream
+                * Take the min of the calculated bandwidth and the upstream
                 * switch SSLBIS bandwidth if there's a parent switch
                 */
                if (!is_root)
@@ -949,7 +949,7 @@ static struct xarray *cxl_hb_gather_bandwidth(struct xarray *xa)
 /**
  * cxl_region_update_bandwidth - Update the bandwidth access coordinates of a region
  * @cxlr: The region being operated on
- * @input_xa: xarray holds cxl_perf_ctx wht calculated bandwidth per ACPI0017 instance
+ * @input_xa: xarray holds cxl_perf_ctx with calculated bandwidth per ACPI0017 instance
  */
 static void cxl_region_update_bandwidth(struct cxl_region *cxlr,
                                        struct xarray *input_xa)