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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3F9EC433E0 for ; Thu, 14 May 2020 06:11:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 998202070A for ; Thu, 14 May 2020 06:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589436687; bh=lgAfsk3eTdBS1nBtTAp6vjs9oy84Hv0KqdYyYePcZLQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=AIb7MH06z/5gl/Ae/PP50BtdX2TiAHFYHlw2Fr/PLpfIOGz90/5Uid9oe9Rg+asp9 m3enWlpfLgM36cqyh8G2Acg9udiRDGN5tHuKMUmN2gGWlSfnA/422LCqPwwyRessPv WUvx+1wf5AVhq6AZ5ihVHZQfmLhHuFQ19gH08eYU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725866AbgENGLY (ORCPT ); Thu, 14 May 2020 02:11:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:42248 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbgENGLY (ORCPT ); Thu, 14 May 2020 02:11:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 73C19206D4; Thu, 14 May 2020 06:11:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589436683; bh=lgAfsk3eTdBS1nBtTAp6vjs9oy84Hv0KqdYyYePcZLQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bZXzY7gyv5zKYElVKKiYQlhweKPTH1RYphccgVbIGHryFOgSy66qS4qWZYxYEeVgN nfCrcU1YKIIy8ya3PoKBNLNvC9DlyNYhJNYoOjPeKLE/9H66SGH6SHGb6A+5+bV5x7 2Idtx63UnEOY/hU98tBIMugsUfoiygwZFlFrDQys= Date: Thu, 14 May 2020 08:11:21 +0200 From: Greg Kroah-Hartman To: Sebastian Reichel Cc: Sebastian Reichel , Rob Herring , "Rafael J . Wysocki" , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCHv1 01/19] kobject: increase allowed number of uevent variables Message-ID: <20200514061121.GA1457703@kroah.com> References: <20200513185615.508236-1-sebastian.reichel@collabora.com> <20200513185615.508236-2-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200513185615.508236-2-sebastian.reichel@collabora.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, May 13, 2020 at 08:55:57PM +0200, Sebastian Reichel wrote: > SBS battery driver exposes 32 power supply properties now, > which will result in uevent failure on (un)plugging the > battery. Other drivers (e.g. bq27xxx) are also coming close > to this limit, so increase it. > > Signed-off-by: Sebastian Reichel > --- > include/linux/kobject.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/kobject.h b/include/linux/kobject.h > index e2ca0a292e21..75e822569e39 100644 > --- a/include/linux/kobject.h > +++ b/include/linux/kobject.h > @@ -29,7 +29,7 @@ > #include > > #define UEVENT_HELPER_PATH_LEN 256 > -#define UEVENT_NUM_ENVP 32 /* number of env pointers */ > +#define UEVENT_NUM_ENVP 64 /* number of env pointers */ > #define UEVENT_BUFFER_SIZE 2048 /* buffer for the variables */ > > #ifdef CONFIG_UEVENT_HELPER Acked-by: Greg Kroah-Hartman