From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0220AC48BE2 for ; Thu, 20 Jun 2019 08:29:53 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D24F82085A for ; Thu, 20 Jun 2019 08:29:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D24F82085A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdsS8-000300-5d for qemu-devel@archiver.kernel.org; Thu, 20 Jun 2019 04:29:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58811) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdsIN-0003mh-Cg for qemu-devel@nongnu.org; Thu, 20 Jun 2019 04:19:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdsIM-0004gL-5v for qemu-devel@nongnu.org; Thu, 20 Jun 2019 04:19:47 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdsIL-0004bb-Vz for qemu-devel@nongnu.org; Thu, 20 Jun 2019 04:19:46 -0400 Received: by mail-wr1-f68.google.com with SMTP id x17so1998493wrl.9 for ; Thu, 20 Jun 2019 01:19:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3kK7fQCe77L28oObk6XxiNby+B0mG/pWnNQLMFN/yV0=; b=XUjWXdo0GzYVJ/vvE2LWkgephGBdXZHaArODf/49nEJIg3vPiot5Uur7rchRRAS4UM 5Y5fq1s0BdK3PMjTJ06FBbcmH+TH5LnvC5336jU8qgQ6kGJ42S+oA+VrIUQ9siKJ8K7y DYFcOo53exaTOW4BrU95fQmCLylZtSZqTvRJgxPByDxigtlHi24mFrjzMBnpqVbj6SWq Rw53LMfN6cwyrKQrlImbE0ZFz4Bfd+o/1rZEg6JhWjxTByF+E31SyPRfw1qQ2buU5+A8 FGuuC1WyNw2V7I9wvpQXvfmv0J1k+AYUuIMbW5D1EZ3FUEEutn7sVSvCiAL5KciC2Da5 kaMg== X-Gm-Message-State: APjAAAUaZNng1GDMnB+Y04SK8MXsfBnA+Lj0/7I5Soc7R1wmfPPz1JeQ RDnz5uYHOuylnAlRa0Pp92wPLg== X-Google-Smtp-Source: APXvYqzy/Vy4cUHIpa39xTreeJoiTBBfapzZQ+bdwPk+g/cYEX21NNZZlbYesHIv0wXpwtRK7enDzg== X-Received: by 2002:adf:8367:: with SMTP id 94mr41458780wrd.179.1561018778395; Thu, 20 Jun 2019 01:19:38 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:7822:aa18:a9d8:39ab? ([2001:b07:6468:f312:7822:aa18:a9d8:39ab]) by smtp.gmail.com with ESMTPSA id n10sm20327509wrw.83.2019.06.20.01.19.37 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 01:19:37 -0700 (PDT) To: Lidong Chen , qemu-devel@nongnu.org References: From: Paolo Bonzini Message-ID: <7b5c5b55-c465-57cd-8b75-85d33dbd343b@redhat.com> Date: Thu, 20 Jun 2019 10:19:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.221.68 Subject: Re: [Qemu-devel] [Qemu-devel PATCH v3 0/2] fix incorrect assertions in sd and main-loop X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, berrange@redhat.com, liq3ea@gmail.com, f4bug@amsat.org, armbru@redhat.com, darren.kenny@oracle.com, liran.alon@oracle.com, marcandre.lureau@gmail.com, amarkovic@wavecomp.com, philmd@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 19/06/19 21:14, Lidong Chen wrote: > This v3 added Philippe's Reviewed-by in patch2 (main-loop.c) > I also included Philippe's previous comment about patch1 (sd.c) > in this cover: > > -------- > Not sure via which tree this patch is going (trivial?). > To the maintainer, please consider adding when applying: > > "This access can not happen. Fix to silent static analyzer warnings." > > As confirmed by Lidong in v1 here: > https://lists.gnu.org/archive/html/qemu-devel/2019-04/msg01337.html > > Thanks, > > Phil. > ------- > > Lidong Chen (2): > sd: Fix out-of-bounds assertions > util/main-loop: Fix incorrect assertion > > hw/sd/sd.c | 4 ++-- > util/main-loop.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > -- 1.8.3.1 Queued, thanks. Paolo