Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1301613pxb; Thu, 28 Oct 2021 00:51:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsYzrKUr8uqUy9MYXC7hy4USwmE6M4alMRwdrvMgcH3FHZSukxp6TuRjW82/ZmRS5zu0TD X-Received: by 2002:a17:906:7ac9:: with SMTP id k9mr3367369ejo.411.1635407497315; Thu, 28 Oct 2021 00:51:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635407497; cv=none; d=google.com; s=arc-20160816; b=uJy4lgCeC5Bo2iYIj4YE5gf3PGd6WhppICwz4yEUGkmEo4iiW1bhh9VbueON/erVze 3N03xAJ0qMDpREbhSzgH4y6y0KdMbKvBEkbOAN9fjNUmS420WDGWY2Gazaw6UvlO/edP mGjU/OYT4fXoq8ubHjIKTjCb/52EI9fVyIBtqNY1uMdYNa5zgTXHEUP6KNpe5aH14IDO Emk041oh64dp+aa7rqcu0Fe4cHHQJlE3QaAGrchlV0AviS8BvI+vJ38w993LVPidaTTZ xOdnP4PDQtiG3eASmR1oFBBQ0UTRgTYIa+4V/4CEIcPPJEVnh+fopVlGsatPEZY03+MY W82A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:cc:to:subject:message-id :from:content-transfer-encoding:date:dkim-signature:mime-version; bh=Fne1I6sZMLlmiy4nvI7nvLT9h/IwBGc2thHLPckPEso=; b=LAXZE314nfDQ5Uu1+aHk6hMHom2wgBFT49/YWiMXC59JsvVHpF6h+4EeqVvGfGdJTL zXGJTyla0vOnGpXEENb1U5AfZMuJ3JXDF6RvyEI4BqpwwEsZCrVvslRV9/+t6MtWw0Kh t7nB3MR7V02H8cGVf3SiuJi7rYOLNySpMk7zUcQlRFdIaDa/rBkAaxpjZikGleO1w2mH 3ycHIb1862mMdLpW2OlpceUb4Z2GKjIsyCWKQ2EsAut7pkGacb1ZnDhVUGz+ynBN67GD ta9FU/ZgU3LJKaB3H+MUQ2iQsNpPkbYCgL1mWAgnYm2dKeT6BwZMeCp1PvlnxfL50Awv TCmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=e+gZIM7q; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si2984881edy.112.2021.10.28.00.51.14; Thu, 28 Oct 2021 00:51:37 -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=@linux.dev header.s=key1 header.b=e+gZIM7q; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbhJ1Hvr (ORCPT + 99 others); Thu, 28 Oct 2021 03:51:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229626AbhJ1Hvq (ORCPT ); Thu, 28 Oct 2021 03:51:46 -0400 Received: from out1.migadu.com (out1.migadu.com [IPv6:2001:41d0:2:863f::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED93BC061570; Thu, 28 Oct 2021 00:49:19 -0700 (PDT) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1635407355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Fne1I6sZMLlmiy4nvI7nvLT9h/IwBGc2thHLPckPEso=; b=e+gZIM7qMOlsJl8skuf96rx/LekaJPltAErI6phbbo9R1McOCkNRbQ9L/VtylWg4lfcwtY n8YRDb7nn9BchfcIRreOO7y1ReM+QbYFjZ9gMvoAiGLkBQK3d/EZhQysQ8bZtS7RFjeE/m iTlez484XXbkXJZmvyU2d2G2Q7yoc3U= Date: Thu, 28 Oct 2021 07:49:15 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: yajun.deng@linux.dev Message-ID: <6da1057ad867699815cef87cb2a79057@linux.dev> Subject: Re: [PATCH net-next] batman-adv: Fix the wrong definition To: "Antonio Quartulli" , mareklindner@neomailbox.ch, sw@simonwunderlich.de, sven@narfation.org Cc: b.a.t.m.a.n@lists.open-mesh.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: <20211028072306.1351-1-yajun.deng@linux.dev> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: yajun.deng@linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org October 28, 2021 3:35 PM, "Antonio Quartulli" =E5=86=99= =E5=88=B0:=0A=0A> Hi,=0A> =0A> On 28/10/2021 09:23, Yajun Deng wrote:=0A>= =0A>> There are three variables that are required at most,=0A>> no need = to define four variables.=0A>> =0A>> Fixes: 0fa4c30d710d ("batman-adv: Ma= ke sysfs support optional")=0A>> Signed-off-by: Yajun Deng =0A> =0A> NAK.=0A> =0A> kobject_uevent_env() does not know how ma= ny items are stored in the=0A> array and thus requires it to be NULL term= inated.=0A> =0A> Please check the following for reference:=0A> =0A> https= ://elixir.bootlin.com/linux/v5.15-rc6/source/lib/kobject_uevent.c#L548=0A= > =0AOh, I didn't notice there.=0A> OTOH I guess we could still use '{}' = for the initialization.=0A> =0A> Regards,=0A> =0A> --=0A> Antonio Quartul= li