From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9934A37A4AF for ; Mon, 11 May 2026 21:58:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778536687; cv=none; b=YjPF51RfgBM/9PYA+HrZqO1UT7ffzpWzD+KFwGs8mlT8LyXqwFBMOPMmfKqZS+c8hsepyRkfTLxcbpqmykyMBkoULNU1kUzXfHy2s9vZ4hNIOodsSGkIwqi9Gj05nGFcwvxsb0U50rtd8Pv4HkCaD/kEoBHO95WoYUcgnGrREt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778536687; c=relaxed/simple; bh=Vl8Yf8Qfn4qb4lsORDuyrC2uojuL5LW2nXJHd9Bzjd0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=W/ik75O6wmcQ0fRoXMCkalOFcr5/5+rwWB2OH1LYE/Hz/TwO1ejXcUn++leEJVpxm/UCt4rPapZLoFslWtMkGzsC2VyspWsQYJ16sVbYVV5hjqt0rguT+5rIJEb9IeKECLuqYvw6t7+XZ7B48b1wH/MeNcBSPzh9bY1HrlR9rn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=am54R9JK; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=f+SaPzir; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=akuOwP25; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=ENOMbG8d; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="am54R9JK"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="f+SaPzir"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="akuOwP25"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="ENOMbG8d" Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8CE8768761; Mon, 11 May 2026 21:58:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1778536683; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=p6COO4BhevX5jqyFQxNuhPHosbEhrDzHL2hZL9lZbAg=; b=am54R9JKJEBlIm8el86GgMrtAXVRApXREJrAOS/0xE1okzW9pF7TG3aDzm7hjfNcBCvj+7 dx5DsjXK2TsNA/yStmH4d3NjnUSJ283El7KyjjtfzSCrOQQMjdFPLe1lNChMmIsT4ASKA/ bjEEP5kjZkPLYMv6N8x4HePavCT/OGI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1778536683; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=p6COO4BhevX5jqyFQxNuhPHosbEhrDzHL2hZL9lZbAg=; b=f+SaPzirHQPjo7PS5nVp1WFfDIWzo/YExaelBIRJ7PyWAdzmg3dwnZST4Q6PKLOlg8X481 ii/MnA+ym3P+cMCw== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=akuOwP25; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=ENOMbG8d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1778536682; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=p6COO4BhevX5jqyFQxNuhPHosbEhrDzHL2hZL9lZbAg=; b=akuOwP25af3Fuu5WwANE7+zc1/U/CCr6kzrVjyr/aXrbp19R6VRIEpnyq5QuTzkwSzMwq7 eNeW1Sbd9H2M70GbKRKY7uC9kIdC6V73IU1L2jDeavGCcun/zpMGJH/x1SN9Y9xAyiyFTg 2F7fwy3ssJdSMAIdIiLomBSGtz6KkyY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1778536682; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=p6COO4BhevX5jqyFQxNuhPHosbEhrDzHL2hZL9lZbAg=; b=ENOMbG8dB6lcDnUkCTZxSSgHSfwvgVZjQEYqyvQhfLfoLxJDA15cawDmd1UUc6biPWbUPd NcddYaLOoFPOF+Bw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 5CB82593A3; Mon, 11 May 2026 21:58:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id YVkHFepQAmqXHAAAD6G6ig (envelope-from ); Mon, 11 May 2026 21:58:02 +0000 Date: Mon, 11 May 2026 23:57:57 +0200 From: Petr Vorel To: Joe Perches Cc: linux-kernel@vger.kernel.org, Simon Glass , Dwaipayan Ray , Lukas Bulwahn , Przemek Kitszel Subject: Re: [PATCH 1/1] checkpatch: Ignore format macros Message-ID: <20260511215757.GB20488@pevik> Reply-To: Petr Vorel References: <20260511121237.11030-1-pvorel@suse.cz> <48d091b644b205b1dad326a855d5b766b042c120.camel@perches.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=us-ascii Content-Disposition: inline In-Reply-To: <48d091b644b205b1dad326a855d5b766b042c120.camel@perches.com> X-Spam-Level: X-Rspamd-Action: no action X-Spamd-Result: default: False [-2.21 / 50.00]; BAYES_HAM(-3.00)[99.99%]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; HAS_REPLYTO(0.30)[pvorel@suse.cz]; NEURAL_HAM_SHORT(-0.20)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; ARC_NA(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com]; TO_DN_SOME(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:rdns,imap1.dmz-prg2.suse.org:helo,checkpatch.pl:url,suse.cz:dkim,suse.cz:email,suse.cz:replyto]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[vger.kernel.org,chromium.org,gmail.com,intel.com]; DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+]; MISSING_XM_UA(0.00)[]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 8CE8768761 X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Score: -2.21 > On Mon, 2026-05-11 at 14:12 +0200, Petr Vorel wrote: > > ``` > > Constants from are used only in userspace tools, they are > > from ISO C99, let's don't report it: > > arch/mips/boot/tools/relocs.c:572: CHECK: Avoid CamelCase: > > arch/s390/tools/relocs.c:52: CHECK: Avoid CamelCase: > > tools/testing/selftests/mm/vm_util.c:244: CHECK: Avoid CamelCase: > > Signed-off-by: Petr Vorel <[pvorel@suse.cz](mailto:pvorel@suse.cz)> > Nack. This is userspace only and should be tested as such. Thanks for info. Yes, warning is correct for kernel space code. Do I understand correctly that false positives are ok for user space code in the Linux kernel tree? Or is it just because checkpatch.pl has no idea which sources are for user space? Kind regards, Petr ...