Received: by 2002:a9a:4c47:0:b029:116:c383:538 with SMTP id u7csp1203299lko; Tue, 13 Jul 2021 19:30:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzey3SFEVa82TT9xTRfnvxalghnOm9S8WLSIXuxs2dBBnS349cn8k/DzELg303kOKB1KP+Y X-Received: by 2002:a05:6e02:b24:: with SMTP id e4mr4985954ilu.41.1626229819934; Tue, 13 Jul 2021 19:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626229819; cv=none; d=google.com; s=arc-20160816; b=isVF+ybUPjC0w3pjaow853gFmao2eplPAKGMxPJShQ+dUglI7L4lFkPcJFuIY/P2Us ESLnttG8MFJkGrr8zsg1He6QWdqBhXCPo1sMSaduKH656/vokxjiV0BoJmi15Y2qVwJs 8JoIRht5IjauYzYpSkHeV9v1yn+vSNyjDtYeBV9PVemMUT8daEvsvISKp/6NY5iuSfTu oLPoNggrNaUm9kxwYJjiIqFUeekIGGV6tgmScir6Sz4vkKyoDK/oHUcRFbSKvIqUm1bI /4H3PkpzRuC4pORpOxq1tUdzg/XEaJD0SSRNVkY04xCRU8SVZeH3UN3zZhkcx6dRdJs4 F6HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=dhwQWWFWrq77dboS0NoaER4O3ZN3LeBT7zXqpbHTJkk=; b=v9mrEkmzV1DzZHkETsu8mpayYwFb2Rd+um3Jd1GtnqTgJHV0IsTRN4vTlaKZc1C6AW QpY2V4lhOD/hNmA4UW45/hzWg9cUSHO+KfYE3RQVHDw0yPpLERautApbZl1G93o52/m0 yW99fNYP0SIPvvbosBpECzJszLIQYGK36SJF6xSjy5j+/ThXDWD7BfJpW4ihRcJVShCy 4EUAf3z/022deznYSiXSGzxF6aXJ708sLxQ13CxmQ4KJvf0DGEFflOfcPMFadTJ1vcO2 ITivuYpZbXSu85A4OkokkJUzxoV+mOobPHh5IAjPuZVGiufKcNPLjBx0Fq4U+PdhHdSN wOtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s8si685458ilu.146.2021.07.13.19.30.05; Tue, 13 Jul 2021 19:30:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237564AbhGNCcA (ORCPT + 99 others); Tue, 13 Jul 2021 22:32:00 -0400 Received: from usmx01.baidu.com ([12.0.243.41]:36206 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S237422AbhGNCcA (ORCPT ); Tue, 13 Jul 2021 22:32:00 -0400 Received: from BC-Mail-Ex16.internal.baidu.com (unknown [172.31.51.56]) by Forcepoint Email with ESMTPS id D85945FA3FD35FEAB57B; Tue, 13 Jul 2021 19:29:04 -0700 (PDT) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex16.internal.baidu.com (172.31.51.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.4; Wed, 14 Jul 2021 10:29:02 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.4; Wed, 14 Jul 2021 10:29:02 +0800 From: Cai Huoqing To: , , CC: , , Cai Huoqing Subject: [PATCH 0/2] virtio_ring: fix errors to make virtio tools Date: Wed, 14 Jul 2021 10:28:52 +0800 Message-ID: <20210714022854.1077-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BJHW-Mail-Ex16.internal.baidu.com (10.127.64.39) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org the errors occurs when run "make virtio" in linux/tools Cai Huoqing (2): virtio_ring: fix error - unknown type name 'spinlock_t' virtio_ring: fix error - 'prev' and 'head_flags' may be used uninitialized in this function drivers/virtio/virtio_ring.c | 6 +++--- include/linux/vringh.h | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) -- 2.25.1