From nobody Tue Mar 29 11:15:19 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 A1A0B1A36915 for ; Tue, 29 Mar 2022 11:15:22 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KSRn56Z9kz4YfK for ; Tue, 29 Mar 2022 11:15:21 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-lf1-x129.google.com with SMTP id bu29so29757740lfb.0 for ; Tue, 29 Mar 2022 04:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=1mFz7O61Fx8Hfk0xhtdsbBsmQ1COZTE0bNt7/Pf2/XM=; b=WA88TSrPAGOLyRTaT7GUbFfJq862lOA3kyiy1HXrvN2XDS1cDD9DlI1vg6LFhFdtst W1gp4V78zOPJnXhKhxzeHA0ib+9vX51MaH3nGsb71/SSgB2Ky2PmY9mcoFEzMNS1UXzU 0uUAQ0N0bCVUau4nDT9g1PCus2eG02L49PMl7WWozQH8IPdUOMmn4i2f/Pi+BknlV+T7 S3fPljpNzzuSNBnq9mkWB57yRmNsf/1eSVD4j7+RsImmh8X2q6XcTQVpVJhB8I7Ol1Tv BTppiu0MAAhY2SmKEmIq6z5/G5BWynh8VVVqIY4QmzGZu0agTl4V7P3Esj/VDGvTONmm UPRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=1mFz7O61Fx8Hfk0xhtdsbBsmQ1COZTE0bNt7/Pf2/XM=; b=8I3dFkq7EcMZPEl1qa3WNA9hxnmIrX+jz9G3I15bnS+DQ5wGlPfwha+6UYRraG9cz0 so0dT1mUI14CYeuJy8uKkZin/T4obhOCcqQPI/31wbc0tqpnd52Z/n6g7E+M6/3EamXB Pb9QpqywlfxfzOO4bibdJEfgCxZaIujRa+1efZcVdAHOWk9eaontOsidI7VYyHIzO0Ld tGL2RF5HykYj5yRqhHBl37vSTHUeEvLe3WUDN4WS5YhyXyMcmd+m4XBDYRCrHRsF3N0H QQcaEBixAIp0VLg5qgDZ+b+sP/kq+cdXcDDWMHnk+X1OsoHiDwLS+cJbJwJkf1p3f/mL 1wiA== X-Gm-Message-State: AOAM530wwpQispE9s7GRRN3fDfmFK9vyLmOVQAuDyLjExhEwO8RQsEMk /f4qhwQchuwRUQsweqxUbD0IfAIMJRNnibH/+4nnjH47 X-Google-Smtp-Source: ABdhPJxFGNfNd4N+MwwJPNxTvwhN2Jcp0C3K2bT45A9t5Xd2VNKfzBTtS8NYUhnZ/KgFmi2n9w6HWRvJ8QEVQzV2L2g= X-Received: by 2002:a05:6512:2827:b0:44a:8de0:15ae with SMTP id cf39-20020a056512282700b0044a8de015aemr2294521lfb.682.1648552520341; Tue, 29 Mar 2022 04:15:20 -0700 (PDT) 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 Received: by 2002:aa6:cb4a:0:b0:1a5:d1a4:cb83 with HTTP; Tue, 29 Mar 2022 04:15:19 -0700 (PDT) From: Mateusz Guzik Date: Tue, 29 Mar 2022 13:15:19 +0200 Message-ID: Subject: "set but not used" warnings in the kernel To: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KSRn56Z9kz4YfK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=WA88TSrP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=mjguzik@gmail.com X-Spamd-Result: default: False [-3.55 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.965]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::129:from]; NEURAL_HAM_SHORT(-0.59)[-0.585]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N 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