From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH 1/2] PM / Domains: Restore alignment of slaves in debugfs output Date: Tue, 01 Mar 2016 10:54:48 -0800 Message-ID: <7hpovehvuv.fsf@baylibre.com> References: <1456246158-19673-1-git-send-email-geert+renesas@glider.be> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mail-pf0-f174.google.com ([209.85.192.174]:34930 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbcCASyu (ORCPT ); Tue, 1 Mar 2016 13:54:50 -0500 Received: by mail-pf0-f174.google.com with SMTP id w128so73060599pfb.2 for ; Tue, 01 Mar 2016 10:54:50 -0800 (PST) In-Reply-To: <1456246158-19673-1-git-send-email-geert+renesas@glider.be> (Geert Uytterhoeven's message of "Tue, 23 Feb 2016 17:49:17 +0100") Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Geert Uytterhoeven Cc: "Rafael J. Wysocki" , Ulf Hansson , Axel Haslam , Lina Iyer , linux-pm@vger.kernel.org Geert Uytterhoeven writes: > The slave domains are no longer aligned with the table header in the > /sys/kernel/debug/pm_genpd/pm_genpd_summary output. Worse, the alignment > differs depending on the actual name of the state. > > Format the state name and index into a buffer, and print that like > before to restore alignment. > > Use "%u" for unsigned int while we're at it. > > Fixes: fc5cbf0c94b6f7fd ("PM / Domains: Support for multiple states") > Signed-off-by: Geert Uytterhoeven Tested-by: Kevin Hilman