Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3492105pxk; Mon, 5 Oct 2020 11:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBqt3gxEfMbrGfrBmqQrHXs8IuavBozgt9sQ4SVlc3U+coF3Lb8EzoV/ghYXjuNFva4mT/ X-Received: by 2002:a17:906:f11a:: with SMTP id gv26mr932472ejb.13.1601920905419; Mon, 05 Oct 2020 11:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601920905; cv=none; d=google.com; s=arc-20160816; b=jmjnEczVj7w5vHjG2a2u/3k3Y9sUi5PP50RUb0tP2I9CTyelllOBhUeU0Ombjcnhjo qcvfmATuuKhOuUpOKEyrCJ2QFne4Af3O6nW4Tk8rUiLuqdd800J42wCX8NuJjVplelJv o82zxrJZ/PNOtaqPWV9Y2Yo18DkDt8xseyyxIjwtQbM1U4pop53EkSIE4uI0Hn1PmtkD kzL0gLenUtnX5NmzQtOsN5R4iWybq7JtjpENpqa0mKg7uZff8pH9GYl1JsYBLcy8Gb4o 0MM7wVLViTT1CJcYDrYcc9/3hFWHcYUDw+biRq3+gf6X5/HZpcR0jBAqCTftxhhFF/JL 8IkQ== 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:subject:references:in-reply-to:cc:to:from:date :dkim-signature; bh=7wCFcmstG9tqkdRh1IkRjrMU2v+OalvyyPDs99sqTEE=; b=cyo2p7FkO+P/urOCv1STOo/poH6NiYcnlDedph6jyxNAaSTYJ2G+pkdcpYNCaOjCPr mPba9481DO8V1reKz40GzaqEVLJDcDyJBprUv+M+c3C4lbFR7Qs/GmBKh4KrXIS6Mqpd fmrWf5Co4kiuZLeKdPDd4yPtDBOynsPerVusVsul76FPbSb74fCxqY5IkCEGxPYXb7KH CdeYq5Yx7rjef8NApYrqgqmngjOL3lekJ/Tztqe/RuKwGv/KpsSZNNuFP6VyMT23F/SK E2Zr0BOT8WJpk3MT3qkhuZdpRNcej2iPNu2aU2x43sPIXnCyQn83MvrM7rV5x5xuzdhZ gRoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i0CnABv0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si557591edj.323.2020.10.05.11.01.20; Mon, 05 Oct 2020 11:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=i0CnABv0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728680AbgJERzc (ORCPT + 99 others); Mon, 5 Oct 2020 13:55:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:49952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725960AbgJERzb (ORCPT ); Mon, 5 Oct 2020 13:55:31 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0A0AA20853; Mon, 5 Oct 2020 17:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601920531; bh=jp+U+ck1Rqz4JGgglDfEzY71ZyC8Djdl4McACEYAssQ=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=i0CnABv00N3WhW0gIr3a8jbMnsWSi5dhvCamNun595pa2tVq6YjLj9YXpDQwHfZHJ 1tYJRvUljdx+LHPra39ponk1H3a/0r72EKazkwW48BVbrSQ4M/g3PjcdgCMFqlcQ8n V98sRbsuQY1fBk8b1lmyn0sQH+zLDQFYM4TE02tw= Date: Mon, 05 Oct 2020 18:54:28 +0100 From: Mark Brown To: Liam Girdwood , Geert Uytterhoeven , Guenter Roeck Cc: linux-kernel@vger.kernel.org In-Reply-To: <20201005131546.22448-1-geert+renesas@glider.be> References: <20201005131546.22448-1-geert+renesas@glider.be> Subject: Re: [PATCH] regulator: Make constraint debug processing conditional on DEBUG Message-Id: <160192046344.23248.4806900613531187946.b4-ty@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 5 Oct 2020 15:15:46 +0200, Geert Uytterhoeven wrote: > If debugging is disabled, print_constraints() does not print the actual > constraints, but still performs some processing and string formatting, > only to throw away the result later. > > Fix this by moving all constraint debug processing to a separate > function, and replacing it by a dummy when debugging is disabled. > This reduces kernel size by almost 800 bytes (on arm/arm64). Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: Make constraint debug processing conditional on DEBUG commit: c845f21ad86528f888db27849f2d315e08126816 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark