From patchwork Tue Sep 13 07:58:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 9328473 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4AD1460839 for ; Tue, 13 Sep 2016 07:59:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42EAB29215 for ; Tue, 13 Sep 2016 07:59:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37CB329217; Tue, 13 Sep 2016 07:59:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56E6929216 for ; Tue, 13 Sep 2016 07:59:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755231AbcIMH7E (ORCPT ); Tue, 13 Sep 2016 03:59:04 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:50191 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbcIMH7D (ORCPT ); Tue, 13 Sep 2016 03:59:03 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id u8D7wnIM024756; Tue, 13 Sep 2016 02:58:49 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u8D7wm7P005864; Tue, 13 Sep 2016 02:58:48 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Tue, 13 Sep 2016 02:58:47 -0500 Received: from dlep33.itg.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u8D7wjBY025496; Tue, 13 Sep 2016 02:58:45 -0500 From: Peter Ujfalusi To: , , CC: , , Subject: [PATCH] dmaengine: omap-dma: Correct type2 descriptor's member types Date: Tue, 13 Sep 2016 10:58:43 +0300 Message-ID: <20160913075843.26691-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.10.0 MIME-Version: 1.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The type of CDEI, CSEI, CDFI and CSFI is signed. This did not caused issue so far as we only use unsigned values. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index aef52011d7c0..1b7f5f32bf74 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c @@ -71,10 +71,10 @@ struct omap_type2_desc { uint32_t addr; /* src or dst */ uint16_t fn; uint16_t cicr; - uint16_t cdei; - uint16_t csei; - uint32_t cdfi; - uint32_t csfi; + int16_t cdei; + int16_t csei; + int32_t cdfi; + int32_t csfi; } __packed; struct omap_sg {