Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp356289lqb; Tue, 4 Jun 2024 13:32:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWeVzr1BpeLIMHsVwIZJac5dnGmZq9Mo84DNqjgRjiZxK0AcOOV5eEeYrWObU0ocJkkcC/OoKO9PFwWxwvTQuE6UxLXumBz6tVYJSV72A== X-Google-Smtp-Source: AGHT+IEKiyyaDnbTAzMIKpn82V4HZXfTAWXPcthYrsOU4rWh91qm5NgiICP4Ncp0W0w9BwILLlo3 X-Received: by 2002:a05:6a00:2e24:b0:6f0:28a4:a871 with SMTP id d2e1a72fcca58-703e5986d18mr707959b3a.19.1717533121134; Tue, 04 Jun 2024 13:32:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717533121; cv=pass; d=google.com; s=arc-20160816; b=r2xZRMgfAVt0RDwALCikBOcmBYmwbyxKap7dtjba/Cy9T/sv7NYrcYW9U+/TFpujkM F6DRSyu/626vmThMehZ272/LwQneK1cgcyNi4ogI2iwS6aklXRGQBwRly7uwWt30RsS5 Os7P/OM1GS2b71/4Nu5QWjIl+6fH0+gTF/c7y+4RkbSvzYqnlsQOyFfR7H0pxdtaKfzP BU3DL1QVdjxpH5kpJHXdVgi9USs8/BIo6HVFxocMQC28QufTbYsqsI6evcspZA6Um55c ION/ENSEV7J1cFbepizq7/aB5QwJxcj14W3N23PwCcxkckkn63QgRtah0CBTNIqVqyYT 7XaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=sW+UYHJDRKVM314Fwiy2CiGhGwSnqCpayatlpcAvqPw=; fh=WJ+UIraSB5oWWejduUJ+jor/sEcoOUDh43WBaKOJTv0=; b=F26Li0iXuAjO36aJmQz5SsjDZLuO0ivd2+Jkl0de38gXw5w9atz3DeDOCI3aY7vCgV WeDGiUyNW4AVkDlo4DPA7hJ516P27HnDwBlFPqZ70Re1HcuTIr34W6ugSogTVOU26v7q u9v0wQAg837Z+Sw40PBgkDytaE+3iLmV2KAsn9QFzBhmJmDb5rH5S8I7hzvv37602FlY uTU3GDljh6rA7MtPw/fuGMBOk0+IGCF++qNjXe2CBRGbbC2oAesGMLRl2g/heg542Rz8 xHk9kKdgVW//Ve52V4LZsjNhPzZJ9PZzj5mryG7GY/b+KOixBgREl8PFo7UFbKjTzP8X e62g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IitjdYcP; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-crypto+bounces-4680-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-70243d15fffsi1533464b3a.189.2024.06.04.13.32.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 13:32:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-4680-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IitjdYcP; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-crypto+bounces-4680-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-4680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6628E2831CC for ; Tue, 4 Jun 2024 08:24:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A09314290A; Tue, 4 Jun 2024 08:24:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IitjdYcP" X-Original-To: linux-crypto@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3186E1420D1; Tue, 4 Jun 2024 08:24:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717489445; cv=none; b=gvKAmwW6btrBicZM3gQu/iofdRP/u5ZihE1R7JTZHEGUEQuE4qt3hJJTmFDHBCSJv+pr/P2I2g+OrlRGz8M46W3qaeEiI+IwpZDeyMVAZlVYTKJRWDh5SIqeNO8HPqOJVf7c1Z+m7AWxREodXADh2WJC2KSEanWuRyS5w7ygh1E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717489445; c=relaxed/simple; bh=+++E6PT7Ikl/BMgbDWFQCaPzsOD33MgC2YSDizKZxfM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QqlbedD5MAGQp99ktE6uzAVLarU2pVoZP5vSzeFelBvs9V3syq+chNB8JAxET8mvK2t2tZqgMarqmZRMIjEgaQuJ0OU3TWibiRt9LXNxLZG69eMPfgW0dCloOM2po0yapORYsUX5Q7b8PKgVgvXohMf3d7XQ6prR3DasubzA9xw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IitjdYcP; arc=none smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717489444; x=1749025444; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+++E6PT7Ikl/BMgbDWFQCaPzsOD33MgC2YSDizKZxfM=; b=IitjdYcPpBzq+fZkQQNKOAMUqveUQpb7i1jl4ycreuOo5N+NnTiLqonm RCcxFRJSZP8HUOvU389RDqwvtYX74zR9bXz76A/z4dCUdlTTJOCZAbFUg UYcCmxV3rb9zKVhZbjhjC4iT4Sqrdkha9FoACtcNmBvu0WzJIAlGW+et6 dIRiEjQ6LQ64+yv0S+Lt5sohlEs5s1eD5FOrKKz6Q6rTIjoy5ESizfa/x tuyRLYYHCg+rw6XUFRONNOdRtIE7Lz5Qtt33YBnM8nWv+pWyJ65t/1E7x T2mvg01vurEP5QPP4D14jibUJVnRzNpH2rqrQlNsVYxrT2BhZlRAbpFEF Q==; X-CSE-ConnectionGUID: 5ps8KeItQuypl83130Tsyg== X-CSE-MsgGUID: k2k5XTirTtqeICWL7sqr6A== X-IronPort-AV: E=McAfee;i="6600,9927,11092"; a="25418722" X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="25418722" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2024 01:24:02 -0700 X-CSE-ConnectionGUID: SaGOs7oWSj2T67Ew7u1o3Q== X-CSE-MsgGUID: 2kjhQQDYTrW+61xRFDzEnQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,213,1712646000"; d="scan'208";a="37030222" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2024 01:23:51 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id E1B7911FA4A; Tue, 4 Jun 2024 11:23:48 +0300 (EEST) Date: Tue, 4 Jun 2024 08:23:48 +0000 From: Sakari Ailus To: Andy Shevchenko Cc: "Rafael J. Wysocki" , Greg Kroah-Hartman , Corey Minyard , Allen Pais , Sebastian Reichel , Perry Yuan , Giovanni Cabiddu , Herbert Xu , Nuno Sa , Guenter Roeck , Randy Dunlap , Andi Shyti , Heiner Kallweit , Lee Jones , Samuel Holland , Elad Nachman , Arseniy Krasnov , Johannes Berg , Gregory Greenman , Benjamin Berg , Bjorn Helgaas , Robert Richter , Vinod Koul , Chunfeng Yun , Linus Walleij , Hans de Goede , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Nikita Kravets , Jiri Slaby , Srinivas Pandruvada , Stanley Chang , Heikki Krogerus , Abdel Alkuor , Kent Overstreet , Eric Biggers , Kees Cook , Ingo Molnar , "Steven Rostedt (Google)" , Daniel Bristot de Oliveira , Andrew Morton , Hugh Dickins , Abel Wu , John Johansen , Mimi Zohar , Stefan Berger , Roberto Sassu , Eric Snowberg , Takashi Iwai , Takashi Sakamoto , Jiapeng Chong , Mark Brown , Kuninori Morimoto , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-acpi@vger.kernel.org, linux-ide@vger.kernel.org, openipmi-developer@lists.sourceforge.net, linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, qat-linux@intel.com, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-hwmon@vger.kernel.org, linux-i2c@vger.kernel.org, linux-leds@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-omap@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-pci@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-hardening@vger.kernel.org, cgroups@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, Michael Ellerman , Nicholas Piggin , Christophe Leroy , "Naveen N. Rao" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , David Howells , "David S. Miller" , "Rafael J. Wysocki" , Len Brown , Sergey Shtylyov , Damien Le Moal , Niklas Cassel , Daniel Scally , Michael Turquette , Stephen Boyd , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Heiko Stuebner , Peter De Schrijver , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , Huang Rui , "Gautham R. Shenoy" , Mario Limonciello , Viresh Kumar , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jani Nikula , Rodrigo Vivi , Joonas Lahtinen , Tvrtko Ursulin , Karol Herbst , Lyude Paul , Danilo Krummrich , Jean Delvare , Alexander Shishkin , Pavel Machek , Chen-Yu Tsai , Jernej Skrabec , Tony Lindgren , Adrian Hunter , Hu Ziji , Ulf Hansson , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Potnuri Bharat Teja , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Miri Korenblit , Kalle Valo , Mahesh J Salgaonkar , Oliver O'Halloran , Kishon Vijay Abraham I , Matthias Brugger , AngeloGioacchino Del Regno , JC Kuo , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Sebastian Reichel , Daniel Lezcano , Zhang Rui , Lukasz Luba , Thinh Nguyen , Helge Deller , Brian Foster , Zhihao Cheng , Tejun Heo , Zefan Li , Johannes Weiner , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Masami Hiramatsu , Mathieu Desnoyers , Jason Baron , Jim Cromie , Paul Moore , James Morris , "Serge E. Hallyn" , Dmitry Kasatkin , Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Linus Torvalds Subject: Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string() Message-ID: References: <20240603211538.289765-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240603211538.289765-1-andriy.shevchenko@linux.intel.com> Hi Andy, On Sun, Jun 02, 2024 at 06:57:12PM +0300, Andy Shevchenko wrote: > diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c > index 503773707e01..9cb350de30f0 100644 > --- a/drivers/acpi/scan.c > +++ b/drivers/acpi/scan.c > @@ -798,7 +798,7 @@ static bool acpi_info_matches_ids(struct acpi_device_info *info, > if (!(info->valid & ACPI_VALID_HID)) > return false; > > - index = match_string(ids, -1, info->hardware_id.string); > + index = __match_string(ids, -1, info->hardware_id.string); > if (index >= 0) > return true; > > @@ -809,7 +809,7 @@ static bool acpi_info_matches_ids(struct acpi_device_info *info, > return false; > > for (i = 0; i < cid_list->count; i++) { > - index = match_string(ids, -1, cid_list->ids[i].string); > + index = __match_string(ids, -1, cid_list->ids[i].string); > if (index >= 0) > return true; > } Reviewed-by: Sakari Ailus # drivers/acpi -- Sakari Ailus