From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCDF1C433EF for ; Thu, 20 Jan 2022 13:33:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238330AbiATNdB (ORCPT ); Thu, 20 Jan 2022 08:33:01 -0500 Received: from mail.skyhub.de ([5.9.137.197]:56156 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232587AbiATNcz (ORCPT ); Thu, 20 Jan 2022 08:32:55 -0500 Received: from zn.tnic (dslb-088-067-202-008.088.067.pools.vodafone-ip.de [88.67.202.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 815A91EC058B; Thu, 20 Jan 2022 14:32:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1642685570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=2hznwbD/44heQ23WOkITnKU6REvxxfzaQbLfKHpWOFc=; b=RB6gHMhlMP55xTESokokGGRtbnYRdZSSqNqvRk8Ynqq+tqCTKjcsS2DUoMzyl6Rew6FStR rzWWhrZs1s+8Q2ylOaQZnCkSrRlXMbYq9tu2l9EloCzTGUWLlKQH7bOhg2Eovzxzl5otvc t/65A3ApH8bvkD5DpKa5KLvPv4wt9lU= Date: Thu, 20 Jan 2022 14:32:47 +0100 From: Borislav Petkov To: Tony Luck Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Smita Koralahalli Channabasappa , Wei Huang , Tom Lendacky , patches@lists.linux.dev Subject: Re: [PATCH 4/5] x86/sysfs: Add format parameter to macro defining "show" functions for proc Message-ID: References: <20220107225442.1690165-1-tony.luck@intel.com> <20220107225442.1690165-5-tony.luck@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220107225442.1690165-5-tony.luck@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 07, 2022 at 02:54:41PM -0800, Tony Luck wrote: > All the simple (non-mask and non-list files in > /sys/devices/system/cpu/cpu0/topology/ are currently printed as decimal > integers. > > Refactor the macro that generates the "show" functions to take a format > parameter to allow future files to display in other formats. > > No functional change. > > Signed-off-by: Tony Luck > --- > drivers/base/topology.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) This one doesn't apply anymore. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette