Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp357063pxa; Tue, 4 Aug 2020 07:18:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxM3bkVHod7ubVDkZ4IGKHZ8SADZMf49EQsYpXrXITfjEmvD3EgawRTOW5HB+GrSS0fhRVA X-Received: by 2002:a50:a125:: with SMTP id 34mr20819562edj.306.1596550736486; Tue, 04 Aug 2020 07:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596550736; cv=none; d=google.com; s=arc-20160816; b=YCTHwr+PoJao7sU4Qr4ZvjNfN2O+MYIwzmrq3mqAiVCDXIYKzDp49NBCrw/3oMcf/5 p90saR84l3wjCRHuElEik/jhJ5Rv4lxCj9gHcZUFvxqxgU4AM2Sb5osf7NurLKL8koAZ daNFuF4SpqhI/0TYv6rGJSz/uxXIEGy/JtNi08S37Ml/o25l+xP/wmR/bwSU7mf0DRjR vXljQBIQDtcJpsswYHHqnZz+4ewVHNjOstqgCSz7ITR6orZz8Bq8zsPWIHRTaLJMKygt zJac2doTGChU/8t5wz3E86cUfe5Aehfnt97Nwq3JgH7Ugfn6w0avja3U9Qgqie0aHr+X mA6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=0MPZ1iQ3JPjBlNMrYPSGQLxY1mun+60bwK9qZEBjRfg=; b=QIagDbjdqNdYNathbb41S5WFYPH6NU/RrO8d87DACcl91QgY3WrHBAKd27+aiTeDDo J0ucB/F5vf8LDHhoyKADmVC+g8DWfWTOtIA/zWWbwkXzvZ7j2pxdhCEeWLyGqCAEotUA tRCRxqyeZnRQKWDD+G/BW3dM1TqsPZ7eHIo09r0eRuEUlsY2HGBViHngS5ot92ldGBQi QqYwDc7LMBjMxI27vt+OtnO0FgOeihFhWOPdNIQKev/FkVznPXpPPD0xf0N2edf820q5 SYAd9RWLUAd35NCRJ9W0J0LdS2v4Dm8RnbCdm/rXbe+/lfpRKuGYy7XQ7HfblMTD1fga waow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h6MoMg8B; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lv25si5721740ejb.396.2020.08.04.07.18.32; Tue, 04 Aug 2020 07:18:56 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h6MoMg8B; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728616AbgHDORY (ORCPT + 99 others); Tue, 4 Aug 2020 10:17:24 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:24923 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726948AbgHDORI (ORCPT ); Tue, 4 Aug 2020 10:17:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596550625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0MPZ1iQ3JPjBlNMrYPSGQLxY1mun+60bwK9qZEBjRfg=; b=h6MoMg8BAhoKiKoDQfqXmn5gmZeyhU7hJNam6uEKTmx7411NONyZg6do4DX0fvSeMoHI8Q IpjiW9o21SMr9n7yrfoHJ7Ke54gYqGhkJ9f8DanIoI5WqHrZ0nFyMjgkk0W5E7uDXyYXBt qEI4xvYI57L8mWtR8RBGa1CwC+dLxqk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-506-c2MZmszDOQSEpbXrxO_oYA-1; Tue, 04 Aug 2020 10:17:03 -0400 X-MC-Unique: c2MZmszDOQSEpbXrxO_oYA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1E6688B1086; Tue, 4 Aug 2020 14:17:02 +0000 (UTC) Received: from gondolin (ovpn-112-169.ams2.redhat.com [10.36.112.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E4EE5C6DD; Tue, 4 Aug 2020 14:16:55 +0000 (UTC) Date: Tue, 4 Aug 2020 16:16:53 +0200 From: Cornelia Huck To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 01/24] virtio_balloon: fix sparse warning Message-ID: <20200804161653.32076296.cohuck@redhat.com> In-Reply-To: <20200803205814.540410-2-mst@redhat.com> References: <20200803205814.540410-1-mst@redhat.com> <20200803205814.540410-2-mst@redhat.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 3 Aug 2020 16:58:38 -0400 "Michael S. Tsirkin" wrote: > balloon uses virtio32_to_cpu instead of cpu_to_virtio32 > to convert a native endian number to virtio. > No practical difference but makes sparse warn. > Fix it up. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/virtio/virtio_balloon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Cornelia Huck