Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp4880993pjb; Mon, 27 Jul 2020 07:29:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6XnU38uWAd1HUUSriqNDBFfp8lKMqmsPMLZ/4eO4gbPm6+4OZyxneD3Iyi2cszQ19CN8k X-Received: by 2002:aa7:c655:: with SMTP id z21mr21690785edr.330.1595860177861; Mon, 27 Jul 2020 07:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595860177; cv=none; d=google.com; s=arc-20160816; b=TkUDbWh/vb5QnFyA+5BXvE1v0hEJuEluEi9orj9ZxlKQUhSw1i/RnUNaGsoTVlXY4c gHN1d5DZDrcZKbUb+g9H8RlACaDCybugS1X1/c3iGCBjGckziMlBKLAVbi0Bf/o6kSXd 7v8zF0bNxDcdtdk/x5gd01YMVzSY7vuBvbt212ZKl21d/lAbh88BIVZMjvHnXJCCiVOM oMSh1rdNiSrsPXioS35Aq7Y9ExGPYGoC5u9KlBeXy51n6aUkTxrrjyFnHeJn6izv3iff un3xS9p9vRpJzr2wBNb/Mtucg1mE8d8Ek1dWzCYMxIagcByhKW8G67LBd7vcxEhcCL9H ARKg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=x7qvSgvF9MmNsFy+abXrwI2aLePqQY6KOW22V5D/RM8=; b=O3ogIsjj++6VoJVj4BffCYgZDBlulkIbNg5LoyxJfugveZp4FauOd5nhiRpNkFEWwL gfvPLqEQW5VMYNADdLkJWzrKZN0nGPJERjl0CSlZLSAhQIuloK+9TNyp4ROE5vjZjl1t 6zlnYYZdCj/+I2G+I/keTYHMxPRRaDAsKiJuxF8lDrYBSp/Wgod5pq6mKAeWUsbceRsH zvQY3alUQPFVP4lEVgyoICh7NwQTjF3/hGMGTdksroKYfdKraxQl3I5p6x9VPsztwMdH ioUsi4nkGevl94j20zNo4s6GoUyvX4vux6DIqYL7gR0gYuZLkdq+k7tRbQjo8RpkYdYn 37dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y2nfmy1H; 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 bt10si1274421ejb.491.2020.07.27.07.29.15; Mon, 27 Jul 2020 07:29:37 -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=@kernel.org header.s=default header.b=y2nfmy1H; 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 S1732376AbgG0O16 (ORCPT + 99 others); Mon, 27 Jul 2020 10:27:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:54990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732381AbgG0OZL (ORCPT ); Mon, 27 Jul 2020 10:25:11 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 577C522B40; Mon, 27 Jul 2020 14:25:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595859910; bh=6IiCZJSCazxGZ+S4y95kWx0DvTpmrq6GMeSZMEbfpyM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y2nfmy1HiUX7EzjB8mjCNyR+Pz+hkVtDtSHWDV9B8SQBvQAQMXh544G0KLYkXrlfL eEWha2oVdN+5mGToA885Co5UCGYDMGr0tjhhD9W9363Zo4hPiuXBLcjeolQcbyABwo ECxmXE5p+6kYBbrr555ET/nLRQ8bmIJg8XbOYGbI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Peter Chen , Felipe Balbi , Sasha Levin Subject: [PATCH 5.7 123/179] usb: cdns3: trace: fix some endian issues Date: Mon, 27 Jul 2020 16:04:58 +0200 Message-Id: <20200727134938.643783619@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200727134932.659499757@linuxfoundation.org> References: <20200727134932.659499757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Chen [ Upstream commit 65b7cf48c211ece5e2560a334eb9608e48775a8f ] It is found by sparse. Reported-by: kbuild test robot Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi Signed-off-by: Sasha Levin --- drivers/usb/cdns3/trace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/cdns3/trace.h b/drivers/usb/cdns3/trace.h index 755c565822575..0a2a3269bfac6 100644 --- a/drivers/usb/cdns3/trace.h +++ b/drivers/usb/cdns3/trace.h @@ -404,9 +404,9 @@ DECLARE_EVENT_CLASS(cdns3_log_trb, TP_fast_assign( __assign_str(name, priv_ep->name); __entry->trb = trb; - __entry->buffer = trb->buffer; - __entry->length = trb->length; - __entry->control = trb->control; + __entry->buffer = le32_to_cpu(trb->buffer); + __entry->length = le32_to_cpu(trb->length); + __entry->control = le32_to_cpu(trb->control); __entry->type = usb_endpoint_type(priv_ep->endpoint.desc); __entry->last_stream_id = priv_ep->last_stream_id; ), -- 2.25.1