From patchwork Fri Dec 22 18:06:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 13503717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A150AC46CD4 for ; Fri, 22 Dec 2023 19:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=q/ggvTLz5SM5ltudO+L8ItTLBA3GWW8QPfs430XlfgM=; b=SNs+MF8Mnu6YKv 6O1nEMgwDITWRJ43c9W2heLeeft1vNiYqj83ol+so7Lt9ZaT13z/SCWvlHHDkcIx2xPdKkCUi8hCW bbU6pWJ8Oa7R7VASjkvUxGQURspVj+UW/kANM2dGX4RQ5Zn3EJ9p4LNUZ3IDzjSFuDo2g/VhWUNpy 8S+ecj+VlgtMr+UgTXmRrX1veydGm3Iz8alQNtNQFztrGRdvjmNqs2eLp8Qrb6Wx7VYZob0ZwuxZp vzn3cjPI6nNFsk7pxDe/Zb984yqA1ar8fP9j4NA2uX18hS8TziYbMbMzNbA/52hB+FA8MxD1YSjHs BgjHWfN+AcOEf4EBlC7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rGl1G-006gfM-0S; Fri, 22 Dec 2023 19:17:14 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGjvQ-006cb9-0m for linux-arm-kernel@bombadil.infradead.org; Fri, 22 Dec 2023 18:07:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-Id:Date:Subject:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=kKni/+p/Wn+VlBLLYSG9NXdgRj5VOK2k0fRXx4Gfg00=; b=m2FA02XH4GXnISv5a0c9dKGBds HuffqLz7gTZS5Id4fk2bezPABYajfAnWhpimHNwAThH6NOcfpDcd+DrLfvJKTjB++OMMlzdMA7KGs lqQ5i08nTjmKeC/UViQ2zPSM31KNfJbHfUk5UWOX32Iz3Xdft4patIorlkp1qA4aBCjarTtQQ0iVw PeqvM7pNspktQ8Hce0zW0EGuui9TeCxjSFDT9TC0SV8/X/6JUDWMRGo3ZWuhxoTI3OUX3VlGxBATA WC5Dssl9573DwMbNhaDtswIGfe2yRhI/I0coRcl032yb8Eb5EAQ7HrnDYboVmbuUn/0Oc2KsSaK7n cSzfuRHw==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rGjvK-00FLpk-1N for linux-arm-kernel@lists.infradead.org; Fri, 22 Dec 2023 18:07:04 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 5AF3261C27; Fri, 22 Dec 2023 18:06:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6855FC433C7; Fri, 22 Dec 2023 18:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703268409; bh=R22+CnodvVYDrZNCk7av0uKuvv/+igMAIQJpzYsYOak=; h=From:Subject:Date:To:Cc:From; b=hoMX/lvnXTbBHvD4fhc97/hJpLxrpGFvuGCuKRsMlSprEQ3BySIc4uL7n/u40XaYs y+tkibKR3Yd4InfLhIsNrYsGJ/RU1Xn/yPEqYbgJPq2azrL7xUXNztUIzsOQ+mZLvc m4BuaXYTIaVjfm+PqRAUzkKT0NWUQJz+nTu9SRWGkV3x1pTjCU1QJ8aAFweS33AxV/ W/hCaxcY6DMW/hge6AoTOlZt9HpI4r1ua1IbqpPw7HfWu4OFZ2Gi1cJOEpNbVUe1hx zz/brMxG+TpW8fV+MoNOiBsh+1+iX8lN8lXmXyZR+nEB5D9a8W8c6LPvpgT/IbqbLD 1sHWYtIQGuxcQ== From: Nathan Chancellor Subject: [PATCH 0/2] dmaengine: xilinx: xdma: Fix two clang warnings Date: Fri, 22 Dec 2023 11:06:43 -0700 Message-Id: <20231222-dma-xilinx-xdma-clang-fixes-v1-0-84a18ff184d2@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADTQhWUC/x2MQQqAMAwEvyI5G9AUD/oV8aBtqgGt0oIUpH83e tthh3kgcRROMFQPRL4lyRkU2roCu81hZRSnDNSQaYkI3TFjll1Cxvxtu6uFXjInXHpL1vjONd6 AFq7I/6GBcSrlBavfjittAAAA To: lizhi.hou@amd.com, brian.xu@amd.com, raj.kumar.rampelli@amd.com, vkoul@kernel.org, jankul@alatek.krakow.pl Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev, patches@lists.linux.dev, Nathan Chancellor X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=736; i=nathan@kernel.org; h=from:subject:message-id; bh=R22+CnodvVYDrZNCk7av0uKuvv/+igMAIQJpzYsYOak=; b=owGbwMvMwCUmm602sfCA1DTG02pJDKmtFyy+LDvwxeXi+/bdzPM/qX66W5weZJK550bglvqJq cXfS58YdpSyMIhxMciKKbJUP1Y9bmg45yzjjVOTYOawMoEMYeDiFICJ8M5gZPg1oS3N50Wmy1+9 k89FLzd4PJ9S6my/MH1FuVz+w6iNy7oZfrNxNPwTPH9Hu2X+vstXvmS4J6y/dXUXu+G/6Xf697D VpfIBAA== X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231222_180702_640782_35BAE35C X-CRM114-Status: UNSURE ( 6.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, This series fixes two clang warnings that I see after commit 2f8f90cd2f8d ("dmaengine: xilinx: xdma: Implement interleaved DMA transfers"). They have just been build tested but I think the logic is sound, please double check though. --- Nathan Chancellor (2): dmaengine: xilinx: xdma: Fix operator precedence in xdma_prep_interleaved_dma() dmaengine: xilinx: xdma: Fix initialization location of desc in xdma_channel_isr() drivers/dma/xilinx/xdma.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) --- base-commit: 3d0b2176e04261ab4ac095ff2a17db077fc1e46d change-id: 20231222-dma-xilinx-xdma-clang-fixes-b9c2c3f5d0f3 Best regards,