Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1698446rwd; Tue, 13 Jun 2023 12:48:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ktfC3hpK9o9gC/lS7/ocGVHo7Q3XkxZZOJV+vSOd+nQBNTdHpqjCo9Uu+1RBgOWUxtpiT X-Received: by 2002:a2e:90d2:0:b0:2a8:c42f:6913 with SMTP id o18-20020a2e90d2000000b002a8c42f6913mr4837592ljg.36.1686685725520; Tue, 13 Jun 2023 12:48:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686685725; cv=none; d=google.com; s=arc-20160816; b=UDSVq+2Sjnuy/QyiHrukbE05LvRuOwIvR8K/w8q4p2m697a/kI3EO5zkbpqcZUQbEx /hLgMlPjUtQhtyPAU9vZ3ofDwCd0osAAIkpHu7JtuoR60OkGaSwYVQUhFeZCxu7Rffk8 YSMY9xEO84EdxQ8SYldwCcCKQh8YXahW0ye4ejfmezKiUBDHhyCe21AoxwSB+G8W/5as FEpTWNeP4uNPe5Uu0oL4qD7WQZMiXDtb1A3zPb/H+7WfuniFG4sfxy0w0WD80rhwswGi H2bI7H5VE1BpnVuvIqOngEU/VjiNGv546nWCoD66C05AAM5YmIFO9dxsnHvIROVpuBYV x0pQ== 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=zwaZB7EIoXwjK7JA+PxWghZnbZYcLtoPqynXw2gl3Kk=; b=AhMgB9wYkR/gRt5fn/PTxjUwyisXiH/CO657kpJVKJepJSDPTrQefDcKRfviSPX44B V9vCTW+JMlOf3myf3ktdwIQYHoPFWMknGWDSirRl0tG+fRLBVOkiSJ4wTD3mgry+Z5ca POJ5ShtKCQQaZGawQ4O70TvkjASeIVOlFSUNUC1p6Dd+7dUEpmpUailVoeP7tElYOEu+ R51j5CVAehVi8sXO0nBBqQvVpUNFUGViciac45YS8VJPMhLvaL0DwHXrex6QSaILtAeO FXVr1tZZ/pbg3XvM5gGixdkwpU/8lQCNhzeaD1rM8g4V5/eEGUmc0CIuSri9uzsOLI2x CnnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=dFC65nNc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s24-20020aa7cb18000000b0050bd191f4f1si3452052edt.32.2023.06.13.12.48.20; Tue, 13 Jun 2023 12:48:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baikalelectronics.ru header.s=post header.b=dFC65nNc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=baikalelectronics.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230297AbjFMTXd (ORCPT + 99 others); Tue, 13 Jun 2023 15:23:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232554AbjFMTXW (ORCPT ); Tue, 13 Jun 2023 15:23:22 -0400 Received: from post.baikalelectronics.com (post.baikalelectronics.com [213.79.110.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 445281A3; Tue, 13 Jun 2023 12:23:19 -0700 (PDT) Received: from post.baikalelectronics.com (localhost.localdomain [127.0.0.1]) by post.baikalelectronics.com (Proxmox) with ESMTP id 4C68BE0DE9; Tue, 13 Jun 2023 22:23:18 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= baikalelectronics.ru; h=cc:cc:content-type:content-type:date :from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=post; bh=zwaZB7EIoXwjK7JA+PxW ghZnbZYcLtoPqynXw2gl3Kk=; b=dFC65nNcaau9CQ55vIdPARkyVudUWAuQghMh yMt3RaJWVQTuyJjIc/3FArVFyViYGVDcLxcBB3ShyWGxuHWzPVDLTiKhq9TTpLd6 adev6Qp7BL8TjM6REjvr8mWmSekhgsgLKTQwS2/mZ+6SJXh3y+X6yZy+XgFGrllT IW7xm0A= Received: from mail.baikal.int (mail.baikal.int [192.168.51.25]) by post.baikalelectronics.com (Proxmox) with ESMTP id 1D6C1E0DE4; Tue, 13 Jun 2023 22:23:18 +0300 (MSK) Received: from mobilestation (10.8.30.34) by mail (192.168.51.25) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 13 Jun 2023 22:23:17 +0300 Date: Tue, 13 Jun 2023 22:23:17 +0300 From: Serge Semin To: Andy Shevchenko CC: Damien Le Moal , Greg Kroah-Hartman , , , , Hans de Goede , Jens Axboe , "Rafael J. Wysocki" , Len Brown , Daniel Scally , Heikki Krogerus , Sakari Ailus Subject: Re: [PATCH v2 2/3] device property: Implement device_is_compatible() Message-ID: <20230613192317.lsk5nqo6vkhnhz52@mobilestation> References: <20230609154900.43024-1-andriy.shevchenko@linux.intel.com> <20230609154900.43024-3-andriy.shevchenko@linux.intel.com> <20230613094508.mnmktmmt4l657ymj@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.8.30.34] X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Tue, Jun 13, 2023 at 06:14:51PM +0300, Andy Shevchenko wrote: > On Tue, Jun 13, 2023 at 06:14:30PM +0300, Andy Shevchenko wrote: > > On Tue, Jun 13, 2023 at 12:45:08PM +0300, Serge Semin wrote: > > > On Fri, Jun 09, 2023 at 06:48:59PM +0300, Andy Shevchenko wrote: > > > > Some users want to use the struct device pointer to see if the > > > > device is compatible in terms of Open Firmware specifications, > > > > i.e. if it has a 'compatible' property and it matches to the > > > > given value. Provide inline helper for the users. > > > > > > IMO much useful wrapper. Thanks for the patch. > > > Reviewed-by: Serge Semin > > > > There is a v3. Do you mind to tag it as well? > > Ah, and thank you for review! Appreciate it. Always welcome.) I've resent the tags for the patches 2 and 3. Patch 1 is out of my competence, sorry. -Serge(y) > > -- > With Best Regards, > Andy Shevchenko > > >