Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp199160rdf; Mon, 20 Nov 2023 23:09:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQjyFST7dbGtHV4JXWxH6mBqjWPSkSAgZ9bdo0u0HADFAY7M5R0i3TkieRRuSD+XweZ0iz X-Received: by 2002:a17:902:dad1:b0:1cf:56e1:ba98 with SMTP id q17-20020a170902dad100b001cf56e1ba98mr9270860plx.18.1700550571875; Mon, 20 Nov 2023 23:09:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700550571; cv=none; d=google.com; s=arc-20160816; b=nLsfq9ZnjzJxRLU+mvckyWZ13tZ1o3UdkgaU+v7dGi8VCbjOv5gRYRFQuQJjEDqiYH aJu+etUgQV3XAuHTQsx6OmFK9PkL4ijzt2oKlOJsY0FfQIcRkur30wIu99PmDQ6IRylu 0a9Qxjz11vyOale2uu1Wuji0VMeaHmE7HY4MUXzXHUpL4I5TQU6AS4C8H7jUU1/mHh1C ppGnVEwOXDFYI3NeAcF7qXzJFZVvh9dA4AKlXy5O9bxntW6u3BWVY/XbLtjJEPbbFagx y9bBaulfTwwtSUWM3K2D8pLbiQwNFs/vZc1QOpwRhcgWOI9IhDSG1gjOODVdyz5+ZFVC AvDA== 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:dkim-signature; bh=5gSwOY1sjUWpxDzVoixctzEzzW/OSLqcAZTxoEKAgCo=; fh=OUuBcsG4tRZJCbMKJBa843Gg3gmrCYHUuN2sDoADQ0Y=; b=0HX9Hur5rjIjiOHUm8DI+LoHakk2qHq3rt9wCwSdUdcsFynMc0nNFZJLOBrn116TMC lORVaQy7hVeyRj+RL6m31UxC14NpR4QOg2ZtinIzAs3Vuq+PUn1eOLyMmjA3zO1iFwcL ABNFcm/Ky3n02sWE/3BkEkpLueEUPfaPHVBhwbR3tvYmYdvYjyULS0ncxHdfrdMAk9tD WqgA4K4iqD8YPVAFVnLqAxXC8A1XJAXcgR2C85vfemXO4HXWxXoy0LeFNFtvxP/P4ys7 ZNjcM1kSqGESvrldq/+ibA9kbnift0ZP9Mz2raS/MbdGZTfFq7QUkKExH/7khpvqZdqz mV7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ViOdeK6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b13-20020a170902d50d00b001ce63150c60si9250575plg.377.2023.11.20.23.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 23:09:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ViOdeK6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CF5A38063BC0; Mon, 20 Nov 2023 23:08:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229471AbjKUHIj (ORCPT + 99 others); Tue, 21 Nov 2023 02:08:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjKUHIh (ORCPT ); Tue, 21 Nov 2023 02:08:37 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C69790; Mon, 20 Nov 2023 23:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700550513; x=1732086513; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=j1YTYr5QMSSnYnwbqsWG2+lRzMcgqrlEjIafePktic4=; b=ViOdeK6wLhqEp/vX2pe3UP+iZhZYRq1A0Ke1HlPcwKDsNzQMMDOdahXP 49UqcwakGzI7f0J1xx5L1vodxEYdXYszkl76xbP7d/yueaJ9OaCBMSxSX dUDSEjzlZZB69IH5EkFx3Y3X4o4SH0CXXTidhS7l5Og9K8+QXfX1qOpvo yx6WBy8hrNnGkseZLmTVmO9B9PprzxckWoIYoLXapNh5lMVgerpj5oRiH gTCNPWGjGtyzgMV5iPAZvcYLtpg08wyaej17viNd8nsIL3lwr7LuGfgyy 3YJHbnDnGVdc0PKZp+SobyUc2NljDwV/pSJfHgFIZoqfE8ycgZ3unvvXO Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="376817041" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="376817041" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 23:08:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10900"; a="884097545" X-IronPort-AV: E=Sophos;i="6.04,215,1695711600"; d="scan'208";a="884097545" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2023 23:08:31 -0800 Received: from svinhufvud.ger.corp.intel.com (localhost [IPv6:::1]) by kekkonen.fi.intel.com (Postfix) with ESMTP id C9EE611FC2D; Tue, 21 Nov 2023 09:08:27 +0200 (EET) From: Sakari Ailus To: linux-acpi@vger.kernel.org Cc: Stephen Rothwell , "Rafael J. Wysocki" , Linux Kernel Mailing List , Linux Next Mailing List Subject: [PATCH 1/1] ACPI: scan: Fix an error print in DisCo for Imaging support Date: Tue, 21 Nov 2023 09:08:26 +0200 Message-Id: <20231121070826.1637628-1-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 23:08:45 -0800 (PST) The recently merged DisCo for Imaging support used a wrong printk specifier in printing a message. Fix it by using %zu instead of %lu. Also use "bits" instead of "bytes" as these are indeed bytes. Fixes: a6cb0a611273 ("ACPI: scan: Extract MIPI DisCo for Imaging data into swnodes") Signed-off-by: Sakari Ailus --- drivers/acpi/mipi-disco-img.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/mipi-disco-img.c b/drivers/acpi/mipi-disco-img.c index cad72d1fc127..7286cf4579bc 100644 --- a/drivers/acpi/mipi-disco-img.c +++ b/drivers/acpi/mipi-disco-img.c @@ -533,7 +533,7 @@ static void init_csi2_port(struct acpi_device *adev, if (ret < 0) { acpi_handle_debug(handle, "Lane polarity bytes missing\n"); } else if (ret * BITS_PER_TYPE(u8) < num_lanes + 1) { - acpi_handle_info(handle, "Too few lane polarity bytes (%lu vs. %d)\n", + acpi_handle_info(handle, "Too few lane polarity bits (%zu vs. %d)\n", ret * BITS_PER_TYPE(u8), num_lanes + 1); } else { unsigned long mask = 0; -- 2.39.2