Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp412276rdf; Tue, 21 Nov 2023 06:13:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxJpNXuztQ41wXIKoB6DtFoeXgAVPyaNazD8mjWnMNPvPm29SMBQMKr/FqlfZhM+wvjOO/ X-Received: by 2002:a17:90b:3cc:b0:27d:8b6f:a626 with SMTP id go12-20020a17090b03cc00b0027d8b6fa626mr9335223pjb.13.1700576023855; Tue, 21 Nov 2023 06:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700576023; cv=none; d=google.com; s=arc-20160816; b=QIRuJxXNtLq9Ri0lv3NG8NEDSx+VeKl/WCyqCvP2aBMD658lY3bgAhMdGSRRL8iW3g OxGesIL1mcHp8nCzsQFl6K/aH2Nw2vJmJ+AW1tllIfSR16hGdgtoUG8DYbzQmR8/acQu q7vDCSGSUWo3t1kG/Lo45SjvkexxzVdAHO2EPT0x5xzY5cbVFfTWFe0BPrLrV/Mh2yFQ FIe/32Dz6+zpwd6lKajdl/Ipgxkbi+QhTI98kgLm9utTaeltw3BX5kGT3WOUH15Vm/J1 TiOObBcUG+AABG49fLfeDKwdQ9+dLagDborf4/9VbgkSZkWwBD7u9Y/o+yzJkTUkefpl pDKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=LfynWcyMeCX/zDjZYpSsY1QwV6hJBM2MsA2mSl2Vhj8=; fh=fcWEK3Ri0kuG2zoyqw/TmmlYX1CBrJKk/FI6JfNIUKA=; b=uEeuZFTurYXmYggELL3k+76sbVaAAQGsqzgFlkbmqdVwmRfdqgSunwRNRHGVeKrhtJ xzq1SR7+v0Q5y8w1e5R5pLc7if/o4JmA8N1p5yp/KTeciovwv+7KsoMRJYIOLLBNJDFK d0YL+9ezgkPrY8DWMMvuq05yLM+Y3d5yXwLTYDomVmIVNoe7FWJ+r6uSw42wqv2dr3tG yAfhvJ9MFFT+iAYBehis/TxLRZE7OCF0/CWi+mg2sWiO2YATz8U1A9OLUFQFRObI1m10 AMnfkPkwVGSaGo7xATYwb/P9kn/z8qRdAcUesop2z/Ig1dx6hiccMWEVclbFBG4GPP4f 9UYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id ot5-20020a17090b3b4500b002808ca78d11si10576451pjb.52.2023.11.21.06.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 06:13:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 496098022CC5; Tue, 21 Nov 2023 06:13:41 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234049AbjKUONc convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 Nov 2023 09:13:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234018AbjKUONb (ORCPT ); Tue, 21 Nov 2023 09:13:31 -0500 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D91B210DB; Tue, 21 Nov 2023 06:13:27 -0800 (PST) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6d31666d89cso860816a34.1; Tue, 21 Nov 2023 06:13:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700576007; x=1701180807; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cLbXOVCOe8I9i74gRQ9M4a7DNGH8GboOO++V6GgCwbg=; b=k+6QVqUN7HjVevNjxhI9s9eUHkDR9CBbxIBq0t6kgr3Q34nNHhpKQ3svlfkL6XD50d N7yZYiED1v8i1xdInC1fpTGlZZWi7TuHRilEFM4i/fV4h4m4XY5Fm09Xr3EPKGK7zo1j OxqRYiHE3706vCfS4pEuJl8ZDeUc0mA5/cc6RrHPrN70FQSsnsTb+zkEsgHgwaZAvPug vT6ewn7K+uVvuYz7J+ZeOkOI1BbhuM5U2G79ExP6Ocp+4Q7DeGE7R2jaNU9Pmli5uB8+ 3JVzYHvluXLRRFNIXwl71PNG0dp3AEvqpvDIFpxuo02s03xQ7q5mgK5w4WPg5JlpI4Az N3Bw== X-Gm-Message-State: AOJu0Yy+xHU4MVvf9wSCTDvV/G+pU4xma33LkjYu6Q/yzpUnPH2q9Soo g1skojBbWE2i6YF/PP3M8MQThKumq8JUZt/U6/wI/JfA X-Received: by 2002:a4a:d44c:0:b0:584:1080:f0a5 with SMTP id p12-20020a4ad44c000000b005841080f0a5mr9931337oos.1.1700576007055; Tue, 21 Nov 2023 06:13:27 -0800 (PST) MIME-Version: 1.0 References: <20231121070826.1637628-1-sakari.ailus@linux.intel.com> In-Reply-To: <20231121070826.1637628-1-sakari.ailus@linux.intel.com> From: "Rafael J. Wysocki" Date: Tue, 21 Nov 2023 15:13:16 +0100 Message-ID: Subject: Re: [PATCH 1/1] ACPI: scan: Fix an error print in DisCo for Imaging support To: Sakari Ailus Cc: linux-acpi@vger.kernel.org, Stephen Rothwell , "Rafael J. Wysocki" , Linux Kernel Mailing List , Linux Next Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 06:13:41 -0800 (PST) On Tue, Nov 21, 2023 at 9:33 AM Sakari Ailus wrote: > > 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; > -- Applied (with a slightly adjusted subject), thanks!