From owner-svn-src-all@freebsd.org Thu May 24 15:54:26 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63FBFEF60FC for ; Thu, 24 May 2018 15:54:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED8CA744F2 for ; Thu, 24 May 2018 15:54:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x234.google.com with SMTP id g1-v6so2886172iob.2 for ; Thu, 24 May 2018 08:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3reEhnWYktJnAdYLfA28+t1S48hIlei8AnrPfqOWFK4=; b=MX/s2qybOgH4HTO3WaEdWFMb/vCYTk9HzaIpNrCEBubW56NiFI7pzXJfWx4j+5Losi kjuA8CHXZb4xF3IT6KAZo9NCfhZa5zVs44JZU9mSEu7ubSbD55Y8G1JLruLWHelzXD2k JM87c3DG7Cgqg/NAHKk3cCY8AA7SqdU37dWJ9oa6exKOsDrQVdSXMlADjV/6xNAoI7Tq nv9KuBj4DW89kHOCgRG86YNAy11E3/4DUEVxCa3fWmXz7zOVH7Az3kWjHaBJUOMJm52c bNzaYVDFdlavIOgPEF71iRC2SnLtrubVdYClUL8rzSZTksp7XoSZNa+ezr/PjA0cx1ZW EqKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3reEhnWYktJnAdYLfA28+t1S48hIlei8AnrPfqOWFK4=; b=PccTb0RekjviUo8wzxQ3pSsKFRrLDXTr3OyCl94kZmDOvn9v9M7FfQI/HiJ1gyRQfk +MR81WXaFLdXFgSP0JaMlLL5M9wDapUGfiW4IZDV87SjZhV6ZmPjKjIPe1fz/m6ZXT24 zPvDEPmdZwyX7AY6pVdcLRZ95R2kgrEO3oDjFKlPl3TrgJDQsaFRsMlYBMBjfrsSA3lb wC+UujI4rxqU8vgusJrmPjHn32PSVXl6tlE/eAf/SBQo12Lzd0uz6n45P127Rk4foMv9 f9cLW1ucDvEMjQDYmabntIbTNKlX/hYY87xF7VsH9G9y9c67DWbjiNM3r3XKUu0W5zQc Tk2g== X-Gm-Message-State: ALKqPwdQvEHDnvtLpuSbIX5XCz6aHeY/eZ2/VQStQEQzOUg7vamfHD65 XBqjPXqm8S2zuRGsUXL7zaY9WbYzNCjiXE+MS2HdUQ== X-Google-Smtp-Source: ADUXVKJAIrT4evpVkbxP+TOmS84Jv/QvwFgd059ZZvobYaoX/OCEvXXheLCZRSfYl22JdHcIcn0DqrKPIoFrhHIXGVk= X-Received: by 2002:a6b:df09:: with SMTP id w9-v6mr329482iog.168.1527177265078; Thu, 24 May 2018 08:54:25 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:d028:0:0:0:0:0 with HTTP; Thu, 24 May 2018 08:54:23 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <201805190510.w4J5AqfS054367@repo.freebsd.org> <20180523222743.GU71675@FreeBSD.org> <20180523225729.GV71675@FreeBSD.org> <20180524044252.GW71675@FreeBSD.org> <5B9EE208-384F-44AD-9B47-059D77FE9B34@macmic.franken.de> From: Warner Losh Date: Thu, 24 May 2018 09:54:23 -0600 X-Google-Sender-Auth: uQx4MnvPw2yxBW-gWJWrzzgHrRU Message-ID: Subject: Re: svn commit: r333860 - head/sys/kern To: Matthew Macy Cc: Michael Tuexen , Gleb Smirnoff , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2018 15:54:26 -0000 On Thu, May 24, 2018 at 12:36 AM, Matthew Macy wrote: > On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen > wrote: > >> On 24. May 2018, at 06:51, Matthew Macy wrote: > >> > >> Warnings find bugs PERIOD. Although most are not useful, I've found > > Some warnings indicate bugs, some warnings are just wrong. If you > > have a "may be used uninitialized" warning being a false positive, you > > may silences the warning by just set it to zero in the declaration and > > you silence it. Other compilers might then correctly report an > > assignment without affect... > > I have yet to see a double assignment be flagged as assignment without > effect. If it _does_ occur then we have to disable the warning on the > compiler that we have less faith in. > Coverity does exactly that. Warner