Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2310092pxp; Mon, 21 Mar 2022 16:34:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHEZ/K86ZF2OJyvhib3vTYLd2pr1ciBsW/PPilIU67GLM+3BmX89jrZwregvqWd+1YDGfD X-Received: by 2002:a63:43c4:0:b0:381:10:45b8 with SMTP id q187-20020a6343c4000000b00381001045b8mr19795604pga.588.1647905661582; Mon, 21 Mar 2022 16:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647905661; cv=none; d=google.com; s=arc-20160816; b=rIDlVWehENqeSJYOjA/wU6Q8l7c5GiWqfvsz+pE9syTT4OnZTEApVmmuWPD1IJtRRG xPF4kGR9Z5400bcIGa8TwraD7NzsyLrOyjIM64io7G5PTkwAOI+ef2bA8b6yFSJV3bWS fTYStDnrKU9eFFmw42tl7Lqzaco6ixml6cEYxPGnpqjMA+dxcFuL0RykUxFQDtdFOmGy wkMz8nrGYivxu/V67WnexfZChlEYJfHRCtqdUjANZ8iABKReWpVgrsXb+UscAUErsKeV Io21WMT7OaDGw0eHzppIpnSxAFAGko/nZwpwwY5xA5mPQx7SaS7VF7nw/g4WlePXEQyx Afow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6i8w9ixzi7DU/7gtfSnJpAHWtXhFKY3QlTDy1le24LE=; b=Im6fysBlt7f/xUCDSPMKGKJglvldJXY/Nvme2DRENYS5Ll8mmjr9GyOM5dUOt28SFR GRGXdVazIRouAY1ypthlXcqw5D/6plsOnnAcCGTPX/oiQOWaLAK1Gg5e8BDtyohO/35V dseznkzGAI9lNzdgtM51N8/EEyN/r0n85lRix0GIt3NS2g5TF4iQOwr9C9QgDXvPoBuw XBwJHBxGcmFD9+D97bQmGLQCKSuuYHOm0CJv1WayUaBojmDHKkHNPILdMd6SRC8w1sDp 8zAIpprP2ldn40ojfbXQOx3W0iYyxtIJpJRRtP91jytGakVVE2MPYQJER4audugIZZWU FBaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WaXlYvQa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lk15-20020a17090b33cf00b001bd41c084c0si844666pjb.18.2022.03.21.16.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WaXlYvQa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A741D3A001B; Mon, 21 Mar 2022 15:25:07 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230156AbiCUVRZ (ORCPT + 99 others); Mon, 21 Mar 2022 17:17:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230096AbiCUVRX (ORCPT ); Mon, 21 Mar 2022 17:17:23 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECE922A0473; Mon, 21 Mar 2022 14:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647897353; x=1679433353; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=mGMqNGGnAAv9F4G2///ghFf3QxQGDyzRBcse/JeKnBw=; b=WaXlYvQawJCmguCMLjdDFtZsvdwdA758lvEnFgDgtWQX4f6DmvgGfu7F kfHkfGbCIk/yZ5LjO9wPoqWvUn2dHQXl9cXplHY61MwWEf0vbE7fetsLv 6FgGPCC5/R/7NCydOyI9yhUhwFUOdM3FKrQCVcYZ3FsMkptwc1Z8Jv+Gp FIiRxlhuONCrrcsmhylw97+thdaXsIOhKsum6aLK7/wZGktR0Zp9wIMxE 8uvOiqYX2XMxNmM5ayoaX4HXiY6aITI0zdpTTUutciAt5hUpgWpIj59CK oEXTpkoFELTy/MWAhddnjSj0U2S5tV4Y60iAgVr43Ifrc5gNpNrpNEyLi Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10293"; a="257369518" X-IronPort-AV: E=Sophos;i="5.90,199,1643702400"; d="scan'208";a="257369518" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 14:15:52 -0700 X-IronPort-AV: E=Sophos;i="5.90,199,1643702400"; d="scan'208";a="716644397" Received: from agluck-desk3.sc.intel.com ([172.25.222.60]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 14:15:52 -0700 Date: Mon, 21 Mar 2022 14:15:50 -0700 From: "Luck, Tony" To: "Joseph, Jithu" , "Williams, Dan J" , "hdegoede@redhat.com" , "markgross@kernel.org" Cc: "corbet@lwn.net" , "Raj, Ashok" , "dave.hansen@linux.intel.com" , "patches@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "rostedt@goodmis.org" , "Shankar, Ravi V" , "tglx@linutronix.de" , "platform-driver-x86@vger.kernel.org" , "linux-doc@vger.kernel.org" , "hpa@zytor.com" , "bp@alien8.de" , "gregkh@linuxfoundation.org" , "andriy.shevchenko@linux.intel.com" , "x86@kernel.org" Subject: Re: [RFC 08/10] platform/x86/intel/ifs: Add IFS sysfs interface Message-ID: References: <20220301195457.21152-1-jithu.joseph@intel.com> <20220301195457.21152-9-jithu.joseph@intel.com> <188492dc80c017375da76d444347b1d00c2031f6.camel@intel.com> <7b9c788e-21dc-eedc-a1b4-9c6877fa48fe@intel.com> <52a16a3eb3f54ec88f7a841baa7000fd@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52a16a3eb3f54ec88f7a841baa7000fd@intel.com> X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 04, 2022 at 09:01:03PM +0000, Luck, Tony wrote: > >> You could just cut to the chase and do: sysfs_eq(buf, "1") > > > > Thanks will use this > > $ git grep sysfs_eq > $ > > I don't see this defined (or used) anywhere in the kernel. Is > it spelled differently from how typed here? Just to close out this thread ... the function name that Dan was looking for was sysfs_streq(). -Tony