From owner-svn-src-all@freebsd.org Mon Mar 14 18:31:38 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A3FBAD0DED; Mon, 14 Mar 2016 18:31:38 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 37A63310; Mon, 14 Mar 2016 18:31:38 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-ig0-x235.google.com with SMTP id nk17so46661738igb.1; Mon, 14 Mar 2016 11:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=d56D9s71xtHgSFJVUh1Q0IBiiGXSZAj9E7lY6BqSTJU=; b=ETJDSRq3PrlY/Jdphg3m4TQEcvkAGVD6CnnEqNsIKy4gcOH92Z87Ch+wyV7YMB4pt6 Ac8yvgAwcPUQHUK4OHx8R7aIfeSrHRWDLJsjwAPZdyG7GbhgE9TxXcwHzel2CZwje4h7 WxKbslXVBSSVeSNgD10Z340djIfv/6KHdOS4erx5OOnRO7E6Qj5a7Hd57eF0CCWqGpiQ ytPW2qNoxS9Uk6i3t5l1/PMcrA/Ea9yUZf7/wfp8TUXT2zlI+cW24pQYvK1AQ5+8HCYH RAnOTMhEcrwGzDCRQInKORnWg/k+gQl0A9CQXK3nOjnVKenpfDFMGsh1Zq88KrqoK9sh XFDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=d56D9s71xtHgSFJVUh1Q0IBiiGXSZAj9E7lY6BqSTJU=; b=NGwcS7QjjonXA3WYYGNPuEhQ328n9ZkYjuW6+PWNIDHJg6zJ6Eq0U384UHxKtMJKiT p+vhmQ4HAso4ptMfwBAc+2mllb0XJF+bl7sr8xkNoax/1ZlYOikfWskfEtpWF1sAR/1O ragBQi1rea7l+Pgw/qpiJQt0aZTMwCGEXnPyg53DIpfuKJrSFuMpgTPkXuKstxtNxkMn P8SrHVDgJB0sXVqSBtk8OmrIYx3nfIPVbQpJi4/NcvcYmBQOqdj2uFkUZuIZAzoI6svO 30DG60eIbhyp/yg8Ts1FDkYSA9ooLQS/2v2Q0OLfoGx8NwSarK6whY0xyVaZjZt97m5t +ykg== X-Gm-Message-State: AD7BkJIb2kyssDZJeneaf3MgtPFzLRYyjV+4uU4cunC2cjpPMEow/JSANpMaKRS3zN/1WNtSalYPp6Ig0uX16g== MIME-Version: 1.0 X-Received: by 10.50.138.5 with SMTP id qm5mr19458390igb.69.1457980297474; Mon, 14 Mar 2016 11:31:37 -0700 (PDT) Received: by 10.107.6.32 with HTTP; Mon, 14 Mar 2016 11:31:37 -0700 (PDT) In-Reply-To: <201603141807.u2EI7xqm075602@repo.freebsd.org> References: <201603141807.u2EI7xqm075602@repo.freebsd.org> Date: Mon, 14 Mar 2016 14:31:37 -0400 Message-ID: Subject: Re: svn commit: r296868 - head/sys/sys From: Ryan Stone To: Gleb Smirnoff Cc: "src-committers@freebsd.org" , "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.21 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 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: Mon, 14 Mar 2016 18:31:38 -0000 On Mon, Mar 14, 2016 at 2:07 PM, Gleb Smirnoff wrote: > Remove useless cast in SYSCTL_ADD_COUNTER_U64 macro. > Is it useless? I believe that the point is to give a compiler error if an incompatible pointer type was passed as the ptr parameter.