Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1082965ybk; Wed, 13 May 2020 23:14:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvwNTjDuhJgRlW5e7SuQaOwrwx+B/XNgFdxb6/wFdzqEl8cjmPBk2BOHxfVJKZKXlUrbJY X-Received: by 2002:a17:906:4995:: with SMTP id p21mr2266061eju.19.1589436842260; Wed, 13 May 2020 23:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589436842; cv=none; d=google.com; s=arc-20160816; b=MHJ5Dy3CMxvA7ASZ1RJQsl3aZW/8V70DxXXFQoQYHJfKJmesT5YAoBxHYp4Sej71rp J1+FzkpPiUc//wDPtfaSYnPEPZw+IRPSsYSUk7PCl1Fp//b7ufhoLWNG8z1GhfwR4uE8 AEG5n0Ih0G/g5kki8C1gAy1IemW71OiY02zebrDCSABJxH+b70OUlLCqPZozHHyHpWcr pFMnFdvLdg+fhnEqcUkR2urjy1K6VU4FeBpOZE8wqw5lgtLTai2jZ/ijf76UpKwgdoHG oNkylWWrLWe+JNb9m3bam9ZeNndZf58SJ+j59/aTT6L96+YQM4iDWKDayF9x7w2OGuwW pxrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=4yVn1AwD8KhwSgWZzzFQYzZVyoFrEht6AWkKzlBea3U=; b=m/irF43DexvbYIgDP+NdbO+7kyko1TEsgiqNsw8b/SPAzmFaEZtc6BVPu1ExYA9yPQ sRh6ybGO5xMCp31UsvC1j7Q4RRPIaMUPpQC00AxSR5EujdVQ5vpRGlIoliLaHXDK+Yj0 oBbV8eABRNwVcjgaYQ6/F4vuOc6XPUwANj2bwwXItjsd9CVjX19Yi7+OfmW1uwQFsGaa ilXr3nQ0TrpjoIdKV5RniT7I7Zrb6P2THHPJ+DMWr4Y4o7pkiFtGhz1N91C5Lif5Trv7 qeo/tU99+3erHqcfoeXfDXYH7B9mVBN45obo0/Fey73575n4KNOHPfiTukBq4uL6WlYT RHxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bZXzY7gy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si1145224eji.141.2020.05.13.23.13.38; Wed, 13 May 2020 23:14:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bZXzY7gy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726015AbgENGLY (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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