From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60BFC3254A8 for ; Wed, 24 Jun 2026 05:54:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782280490; cv=none; b=qzoD0lsdx4h6WqigVkkkzRHtdJ+r5GSrXMYzTluq6lEY8XloMMkxJr37rb5YcuTSG2VCL7X2CEffhPMscoeqsPO/ppPk+YcmaFKvJY06OhXYb/sZVqaMrfnmVaCjipfNOZmjt2lqYddS980gR5QvB+Sx8NkzNflccejZf8tNIB0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782280490; c=relaxed/simple; bh=4+yfwppAxv6grV/iuiLbt0kuinxwy5HNYFpZxLDSMSU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=Yw93vw5kQIHyWAhpcScMNLgXhSk1zDdkT54TZEtiyKdOAnsYx2ykJ9bdtG0vetgi+RAoKXVJD22XwJEc3CCTArdY+gMlf+EDzo0B0TQ448dhcytAVRgmHWadCwFploBNpPBcIVO3+1pf4DO7hkqRM1zmn2nh8bMhpKJuSd9ZsY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=MwlMk1Wn; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="MwlMk1Wn" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1782280486; 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=4+yfwppAxv6grV/iuiLbt0kuinxwy5HNYFpZxLDSMSU=; b=MwlMk1Wn61TpGLRz1AMjptjMw5oSKHIbdyTCthRtQugqb/2wqt2msnSb/EasAP5pLVVXrm gUV/NGRVY7vo8g/35PHzAv472PgnZ3lageFFbX/gFSIckXyOWqY5ga77snS/WV2+COeC2D aW/W2KD80ku1OI7NrchSq5gcsoPj4YA= From: Lance Yang To: igorpetindev@gmail.com Cc: ryabinin.a.a@gmail.com, glider@google.com, andreyknvl@gmail.com, dvyukov@google.com, vincenzo.frascino@arm.com, linmiaohe@huawei.com, nao.horiguchi@gmail.com, akpm@linux-foundation.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Lance Yang Subject: Re: [PATCH 1/2] mm/kasan: remove redundant initialization for kasan_flag_write_only Date: Wed, 24 Jun 2026 13:54:33 +0800 Message-Id: <20260624055433.5971-1-lance.yang@linux.dev> In-Reply-To: <20260623114743.4565-2-igorpetindev@gmail.com> References: <20260623114743.4565-2-igorpetindev@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On Tue, Jun 23, 2026 at 02:47:42PM +0300, Igor Putko wrote: >The static variable 'kasan_flag_write_only' is implicitly initialized >to false. Remove the explicit initialization to follow the Linux >kernel coding style. > >Signed-off-by: Igor Putko >--- Thanks. Reviewed-by: Lance Yang