From nobody Tue Mar 29 11:59:22 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B05C41A42CE7 for ; Tue, 29 Mar 2022 11:59:26 +0000 (UTC) (envelope-from SRS0=GV03=UI=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KSSlx4X0fz4jCf for ; Tue, 29 Mar 2022 11:59:25 +0000 (UTC) (envelope-from SRS0=GV03=UI=klop.ws=ronald-lists@realworks.nl) Date: Tue, 29 Mar 2022 13:59:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1648555162; 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: in-reply-to:in-reply-to:references:references; bh=J8SvcdypxzB7XD+CRR0mXE6dhYFwF1ZsjJshkhJVkqg=; b=HuZSmQojkORFZh/bJ3LwssI8yl0Yghx/Uut9o/tScdY7PBk16pKimn0l9zQs0vOExq08Ex iImCyiwhF2RSo366dgrrtL91ffNUg+HmapQg644xWJj1dpXhtXPi46wchsiLcNTG0hlyE7 f+2nH0TSzsS8fFM0N97OgSxcLhp3gfPhIMzk+oPKE4N8AmHueRK6ZHM14pGcgK/OdKOLRx qIecA2zCmnggmK8JDlH72P0xMKJTmiSMTaxVpxtuD6uBHiE4T/9myDFXPUhqDzZIey+4uQ puAYguXvUdeNPeSjRs5IVYAGik7VD3bbsf9O2EL9/f5ZmnJ2fqcmx7VpqCCVJg== From: Ronald Klop To: Mateusz Guzik Cc: freebsd-current@freebsd.org Message-ID: <1033820507.79.1648555162370@mailrelay> In-Reply-To: References: Subject: Re: "set but not used" warnings in the kernel List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78_1016422895.1648555162281" X-Mailer: Realworks (602.328.5a345bb) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4KSSlx4X0fz4jCf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=HuZSmQoj; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=GV03=UI=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=GV03=UI=klop.ws=ronald-lists@realworks.nl" X-Spamd-Result: default: False [-3.19 / 15.00]; ARC_NA(0.00)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=GV03=UI=klop.ws=ronald-lists@realworks.nl]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RWL_MAILSPIKE_EXCELLENT(0.00)[194.109.157.24:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MLMMJ_DEST(0.00)[freebsd-current]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=GV03=UI=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_78_1016422895.1648555162281 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Is it time for WARNS=7 in the Makefiles? Regards, Ronald. Van: Mateusz Guzik Datum: dinsdag, 29 maart 2022 13:15 Aan: freebsd-current@freebsd.org Onderwerp: "set but not used" warnings in the kernel > > This is way too spammy and there is no consistent effort to clean them up, > that I can see anyway. > > As such, I think these warns are doing more damage than help and should be > disabled by default. > > Alternatively, perhaps people can step up. I'm pretty sure to date I got > rid of more of these than anyone else. > > Comments? > -- > Mateusz Guzik > > > > ------=_Part_78_1016422895.1648555162281 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Is it time for WARNS=7 in the Makefiles?

Regards,
Ronald.

 

Van: Mateusz Guzik <mjguzik@gmail.com>
Datum: dinsdag, 29 maart 2022 13:15
Aan: freebsd-current@freebsd.org
Onderwerp: "set but not used" warnings in the kernel

This is way too spammy and there is no consistent effort to clean them up,
that I can see anyway.

As such, I think these warns are doing more damage than help and should be
disabled by default.

Alternatively, perhaps people can step up. I'm pretty sure to date I got
rid of more of these than anyone else.

Comments?
-- 
Mateusz Guzik <mjguzik gmail.com>
 

------=_Part_78_1016422895.1648555162281--