From owner-svn-src-all@freebsd.org Mon Sep 12 01:01:09 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 AC32EBD4BB2; Mon, 12 Sep 2016 01:01:09 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-yb0-x235.google.com (mail-yb0-x235.google.com [IPv6:2607:f8b0:4002:c09::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 7288CE1A; Mon, 12 Sep 2016 01:01:09 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by mail-yb0-x235.google.com with SMTP id n11so721601yba.0; Sun, 11 Sep 2016 18:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=ffonl+GejQu7rrhimDZqvBLvwZIpRsMLOs/cEPXG/PQ=; b=c+5B8TuB8MOnAFRr5DrItjeSMjZn7SiucLKFPhXLH/lfPh31gjm4JCGbXC306NH83s HZwXIV8pGPzRoquZJirwu0U16JYlXw9caJAhCQEfUwpWtWhFueF+fJt7J8tpA0Rh8dbA wod7b/AJebpx2nmhRj6FoPP7FCwZyNfHaoPU8PVlnWmrlxIhBBI6hBSq0VwBpU1Ay3uC vIQvHkhAR4x6pLvhWcghKrIFRzvgIch31xSklnrtaYVutDTqXz5G9Zm7tY3oUIq7a/jV cVEX+31RIZ/LvF5H2jH2B00jpXHMMjBoaOGj6YLNVuBoGs1bEJzoYLS5F23AffGj66Dk BvkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=ffonl+GejQu7rrhimDZqvBLvwZIpRsMLOs/cEPXG/PQ=; b=mg27+RYVpq8kMPc4smwQ4SMKNGVL7urtbr3tBPbAG8iU9e5yAQ4k+9pbzFHxmytKWw 9lhSv+Rt4DgTaLAJpXb1mou44PXJE33Pa51abBmRYEX5VaTRFH38phyuZbPBJ6cYHtkY NsvpSZmclPldMLW9wMt/gN+IRmi+IhoeyRl2MdPyCwjGgV3vinWBejjZI4iZKp09uUmo YR8MwsG2Tkek2IdMEwXw7LhcfmIoQjuyT5RdYIwYknjWATvjri8MiNs8d6xgpD/3vttU MYbvXNIOQX8HySDdwMcq2Blb73QR7JtAfrax8PGbtiMbf2JnTxDKrj8KiTBqaPqPuR4D dBTg== X-Gm-Message-State: AE9vXwMkccp10ZjHFXVkd88NbGOrc+BiP/gPnfLD5jdgQTp8PcyljOThY3XZDTP37e1vkMH3eakj9KunzLr8Kg== X-Received: by 10.37.57.86 with SMTP id g83mr1715139yba.64.1473642068498; Sun, 11 Sep 2016 18:01:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.56.130 with HTTP; Sun, 11 Sep 2016 18:01:07 -0700 (PDT) Received: by 10.129.56.130 with HTTP; Sun, 11 Sep 2016 18:01:07 -0700 (PDT) Reply-To: araujo@freebsd.org In-Reply-To: <201609120024.u8C0Ou9p049994@repo.freebsd.org> References: <201609120024.u8C0Ou9p049994@repo.freebsd.org> From: Marcelo Araujo Date: Mon, 12 Sep 2016 09:01:07 +0800 Message-ID: Subject: Re: svn commit: r305718 - stable/11/usr.sbin/bhyve To: Peter Grehan Cc: svn-src-stable-11@freebsd.org, src-committers@freebsd.org, svn-src-stable@freebsd.org, svn-src-all@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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, 12 Sep 2016 01:01:09 -0000 Thank you for that. On Sep 12, 2016 8:25 AM, "Peter Grehan" wrote: > Author: grehan > Date: Mon Sep 12 00:24:56 2016 > New Revision: 305718 > URL: https://svnweb.freebsd.org/changeset/base/305718 > > Log: > MFC r305061 > Invert calloc(3) argument order > > Modified: > stable/11/usr.sbin/bhyve/pci_e82545.c > Directory Properties: > stable/11/ (props changed) > > Modified: stable/11/usr.sbin/bhyve/pci_e82545.c > ============================================================ > ================== > --- stable/11/usr.sbin/bhyve/pci_e82545.c Mon Sep 12 00:21:55 2016 > (r305717) > +++ stable/11/usr.sbin/bhyve/pci_e82545.c Mon Sep 12 00:24:56 2016 > (r305718) > @@ -2273,7 +2273,7 @@ e82545_init(struct vmctx *ctx, struct pc > int mac_provided; > > /* Setup our softc */ > - sc = calloc(sizeof(*sc), 1); > + sc = calloc(1, sizeof(*sc)); > > pi->pi_arg = sc; > sc->esc_pi = pi; > >