Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp749492ybk; Wed, 13 May 2020 12:03:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxX1vNcimU8bY+7eq8xDXZoVsheVaHtQlJlbhAwWDkjWrx7prfBWvV089HZ7raDTvlKJuSo X-Received: by 2002:aa7:db4a:: with SMTP id n10mr1026865edt.11.1589396580039; Wed, 13 May 2020 12:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589396580; cv=none; d=google.com; s=arc-20160816; b=Mu+6yB8tSIBqde+6GiSBEvkMJHAqD0VPjk0qIBkJs0Ct6SgmKmIxRKZ/KWXti0JNjE FZdTZj5aLkR/ZLEOScx+SA/ka2yVQhWv0MvpRaSeIBVTFBlDqCb7JHR9T3Fv8BK3qaqF 25YP0Bwkf6lQp9zufYoKDoKUBwucJXEJ+l8pkvchPv/u6QtWDbFNnJqamtx3ZDA/2nV+ qBemKyM/+1Y0Mm+MWCMnfBZ5oOvd6W0XbPyx5d5gAuFymZjGhnatGPnUn2N9I3HJ8Ilf 4++s3pBoBICzFcXUlcNQiCTKFkXNOTMhI5QcM6rg3LQb79GkQOQRprksUXHUjRoG5B5N Ynmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=5xV9TPuIX6QqI6vzjQqnrOBIHyGx7VqhXqv2kj99d6Y=; b=JDc4IlHbwMt+sUIxa/R49U8SqTP9B1GiN1QYBfFaL6yRYPlUkae+fi4TxcBVSvTg/G PV04+hLt90eGjimSRV9eKLm9FQ42WahrhlBm15y5++OXIv1wn6TwVIzwIygGy/RhIOXF Tc0Mk3CGsY06ul4/iVcofvzb99w1Cjhcdk6f/f9MdjPJMylGGlf2OusBQoM9XHAz+d5T BZw5yqo24iBwY6y2+mjxWySv5y9taPy+yHHlkLpNqUO/UmGVAg1/pZGD4X7zUGxSTXKP MY25rFEdzG4SW6VpzMYAioqEDai/HSqTOOguI7D69OPPL+M9lL962lhuYjX/X8vtgxXy BC3w== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p8si402805ejz.441.2020.05.13.12.02.35; Wed, 13 May 2020 12:03:00 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390587AbgEMS57 (ORCPT + 99 others); Wed, 13 May 2020 14:57:59 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:51866 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732218AbgEMS4d (ORCPT ); Wed, 13 May 2020 14:56:33 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id D22F82A0188 Received: by jupiter.universe (Postfix, from userid 1000) id 6697A4800FF; Wed, 13 May 2020 20:56:29 +0200 (CEST) From: Sebastian Reichel To: Sebastian Reichel , Rob Herring , Greg Kroah-Hartman , "Rafael J . Wysocki" Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Sebastian Reichel Subject: [PATCHv1 01/19] kobject: increase allowed number of uevent variables Date: Wed, 13 May 2020 20:55:57 +0200 Message-Id: <20200513185615.508236-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513185615.508236-1-sebastian.reichel@collabora.com> References: <20200513185615.508236-1-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.26.2