From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D24382BE630 for ; Wed, 4 Feb 2026 07:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770190114; cv=none; b=qyN8azDY0NamYiYgJFjJCdmScvA5N/T7+3zaVtGRFoQ8Wu0mtWmXZNGTEmYj1ydK2+5efLd3SarfGD2sjP49pEOHk/p3DxhEUSqSaP7JksKXcb6IS6mAcIL9Li8zvOYhOw2tvrXYZVf4EVcd0n9GeBwdZFccPJqzrB2WUqjs1xY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770190114; c=relaxed/simple; bh=2eN7tlMm13dCybmIuvFNkxEuxnQjr0xHBg9/kKMwg8s=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=TIP8ykeoZnOvBbh7I34Itb5ZxCbHZJOPYnK+ZaMeNQoUMGBF/YZmJzKydAlKkUJVlbZa4Ujb2pCcMZn585w3+U1ZWXVPhCJkqkpjq8RMFaHrh7O5TWGi9KWZMu511wQqoHrKuX9IQd5OQXhwPanxeyncFDeliVDe4vG/W8Dwucs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zEVjZvdK; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=g9wOAoJO; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zEVjZvdK"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="g9wOAoJO" From: Nam Cao DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1770190112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2eN7tlMm13dCybmIuvFNkxEuxnQjr0xHBg9/kKMwg8s=; b=zEVjZvdKuOxr1ZdldKuBx6/okexuqHltah+N79lDn9kzJgGvUjueLrBdojmC59vk6AevA+ w8BVhVslY5wLwbl2miqaSgJ9DvvdZdzBSELk8QXWYZIxEgG0UdN4SKfdmNRlDk7WPreZuG bYWbwoc7aRp78iir0x/Rn4+fF6PDWG1GCvrUOPzIg+SuYFXYtAhplURhpQL2eQQSPJEDuR a7+0bOMaNAORSkBJ3EPyZ6QxAWQhYBSyya/80kc9zoiaQyLdqzX0ASUGSFQIuUieZySJd+ 4a06sLMti43Vn8ld+rHz0tocuUW1OXYABGl0BgLYvI9jzYW7JjajxrvonAGHSA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1770190112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2eN7tlMm13dCybmIuvFNkxEuxnQjr0xHBg9/kKMwg8s=; b=g9wOAoJOhu9+i6W/H87wTlrtrzbmCkadznNoK9aO1wTHKUuE4J0VIsf/IfovhHX4kLFypb Df2Yc+403JDfOzCQ== To: Joe Perches , Andy Whitcroft , Dwaipayan Ray , Lukas Bulwahn , linux-kernel@vger.kernel.org Subject: Re: Checkpatch false positive: externs should be avoided in .c files In-Reply-To: References: <875x8fz6yz.fsf@yellow.woof> Date: Wed, 04 Feb 2026 08:28:29 +0100 Message-ID: <87ikcddl2a.fsf@yellow.woof> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Joe Perches writes: > Please use the more common style like: > > atomic_t __section(".sdata") hart_lottery; Ah, thanks! Will do that along with v2 patch. Nam