Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp195859rdb; Tue, 5 Dec 2023 02:57:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHuSy1EJcnDGSu1KcP4lOMEs+2C+715+pIQoS6CHGKE+Ccur8oI9D+NjuKUpidsRU8qzeiR X-Received: by 2002:a9d:61ce:0:b0:6d8:7bbb:67ea with SMTP id h14-20020a9d61ce000000b006d87bbb67eamr4317920otk.64.1701773837374; Tue, 05 Dec 2023 02:57:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701773837; cv=none; d=google.com; s=arc-20160816; b=wJ99oGaFIe9GA+Ge6cxl618JYG0C5DNfDUDWlLksnF8y8WI/1oYju3rNd7sYiMm4Dk yv66nQQU+k+UhPJF3NhMMn4l1QTMz/3W86ueMjVhIQsBJkL0U5HoupZZPCsgi9PcWqkA zm8GKxbY9EcFxQqpNtXH+0lsJ3L6gh3JDhQKd/LUBswXC56UXObBBSmwQDlS5elLkYDd TKCd9dq3o0PfvqOGgTxrrKg166qdli4i3TBuXhxcKnMxs3Dwo3a9sfqZ2KK2uht/Nziq I+U5tdglGbS7a15vyw+h3ilI/uMGhve64NTkKhjRgo2XgZkfip46xTJk++b1uMOghq5X bINw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gOCSh/LCoaA8lYJyJFRuUh0JrG5S2z7mjuSffy1Xhtw=; fh=wb2ahl/FkCU48175OxCfhew7TNmFJhwW6zEDS+27YVE=; b=iAEr8ILv1x0xCYmoypoGCUqFOikp/DG0o9Qb1T4ysVbGS96z5+KWGyezYgq+v6Gb7L QokCsnBgcCtgcOrfzSZvN/jEBnGt1jdgYtaeMDc2RsKk+vaJ2swPZUZopuDzj6XiPUm1 xmaf+YPLu3XRGFh4zpuKLhyBo0xC5BXj1M7GecaNY+F3gqt4hxrr1IfsqPntEClR6R2Y dkXJ1Zwi9efNReTEuonyw3s6yg4gfJEClOusjXKt44TsRu2Ikd1GapHob+U0C6fpJNG4 I1nq2+mHfAuBJbtj5ux/ZCIzGSQxpJg7AsvjX9MHX++rDmLFnw6BphQUPykY9SGXBcAw aHoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=al540q0f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id p1-20020a63c141000000b005c68d9545c7si3335041pgi.334.2023.12.05.02.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 02:57:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=al540q0f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E6E3E80E709D; Tue, 5 Dec 2023 02:57:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345044AbjLEK5B (ORCPT + 99 others); Tue, 5 Dec 2023 05:57:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjLEK47 (ORCPT ); Tue, 5 Dec 2023 05:56:59 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90F1B129 for ; Tue, 5 Dec 2023 02:57:05 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1d04d286bc0so23036545ad.3 for ; Tue, 05 Dec 2023 02:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1701773825; x=1702378625; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gOCSh/LCoaA8lYJyJFRuUh0JrG5S2z7mjuSffy1Xhtw=; b=al540q0fIwVn2IEeHC5J4rKUhmXqsBoDe/K2/DXzqgcm1oPkE23io97OtkJ4bxza0C 2bZdzsn36ibRyHeubEY1j980San8jbMtrRPWB1bw5MMD6eIXtvsm16Th60TywKUucMEO FeuZp1IJsxWtoQ9lpFnJqWMKfps8eQHq0E7m6INCTF4EEEGP+jE2ihzQhWLpJsGMw2yc YVmvMpqE+u/FXuZ5tUOIXBwr72ApVJBnVOVUXLv0X2l3D6iGf7ncEm32Z7M8z9oMhSXQ S4JNERcDNsvo5sMzcuNMMgwFIcryxU4MK8+Pus+wdCpsW/UdvIsJx/JEVjwvHo/HTtnS vmxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701773825; x=1702378625; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gOCSh/LCoaA8lYJyJFRuUh0JrG5S2z7mjuSffy1Xhtw=; b=nS/t15wZBR7YwdDkx1hXWKAqa9gc8QGrNiBDnCNw67GipAk1D28Rb6d4iqKqQEvTNR AE0OUdOC/490Sm0JNKMlfw8Y5eEpHnxmF1pnrJyulE+p19iL8UXKB4j7J1orI84Q8xGo gQME/fNSSUN5cToGa+MIuvRQOKsXTJiFaY0XcyoFttJjNIjn6BDeUs3jx+5L2r8jV1Nu G+kF3EFmI/kh6+TmkeP4b88dxhPCRkGcJ1P6qByBs3yPy6hFJo7KjzVWF1HUppbOntCS OYcNvrWbz4p4Dl1fqUi4EQ4yW1VAGVKiEktC6Kw2mxCBsh0PG0oz8cSHf6nj4hKHHnw3 mGxA== X-Gm-Message-State: AOJu0YylzenaBY9SDIfLn1p1+fN1qKHGClRmENZGFo6UrQjixmcPgZhp ePgAgafYqjN1UdnqC3LpWRCqPr6NhiQDDYDTfo6DAQ== X-Received: by 2002:a17:90a:fb50:b0:285:80d5:6e51 with SMTP id iq16-20020a17090afb5000b0028580d56e51mr771522pjb.21.1701773825023; Tue, 05 Dec 2023 02:57:05 -0800 (PST) MIME-Version: 1.0 References: <20231128140718.3866978-1-naresh.solanki@9elements.com> In-Reply-To: From: Naresh Solanki Date: Tue, 5 Dec 2023 16:26:55 +0530 Message-ID: Subject: Re: [PATCH v3] regulator: event: Add regulator netlink event support To: Mark Brown Cc: Liam Girdwood , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 02:57:15 -0800 (PST) Hi On Tue, 5 Dec 2023 at 04:54, Mark Brown wrote: > > On Tue, Nov 28, 2023 at 02:07:16PM +0000, Naresh Solanki wrote: > > This commit introduces netlink event support to the regulator subsystem. > > > > Changes: > > - Introduce event.c and regnl.h for netlink event handling. > > - Implement reg_generate_netlink_event to broadcast regulator events. > > - Update Makefile to include the new event.c file. > > This looks good however it breaks an allmodconfig build: > > ERROR: modpost: missing MODULE_LICENSE() in drivers/regulator/event.o > > > +config REGULATOR_NETLINK_EVENTS > > + tristate "Enable support for receiving regulator events via netlink" > > + depends on NET > > I think this needs to be a bool (NET is a bool so there's no dependency > issues there hopefully). Thanks for pointing this out. I missed testing build with allmodconfig. As suggested, after updating Kconfig from tristate to bool this issue got resolved. Will push v4 with the fix. Regards, Naresh > > Thanks for pushing this forwards.