Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp337485pxj; Wed, 16 Jun 2021 03:41:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcsaHzg6QDQCp5XdD5fDNGvprDa7YGDBHm+X/Ql4f8khtdXXJsTryWNcRAV9QrvzK+6ZlP X-Received: by 2002:a17:906:5289:: with SMTP id c9mr4637751ejm.342.1623840091259; Wed, 16 Jun 2021 03:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623840091; cv=none; d=google.com; s=arc-20160816; b=uY3GF+HQ97neBn7N/GOaI8zzCjJHcRTd57R6UxFf/ZDrRpnmQ46gbylNG+jWAHyaJe /REpiVZdnxtcTgT2tH9j66vbsn0i2LC4mhKe1yD024rNhZC6U+ab+c+2JDhPwq3Ft9fo MOM8N8/AG5GV7Lske4YOHNplHjnPRNDMt9W+waMskfhBUrNg8T2GWoA6nCg5EvKkKr8I rVAL+FWeNLogNz9oyjshxdaI7P4XmJIgGAvHTGSJsuV7pMWzZApbKLvpbPBjwmWRspjy 3KFmUgIm91jTAqVs7PTh37EHuD1kkV+Xu5PQWnIbTTmUcelegVJ1H5jeH0YIO+GPdUXP +B6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9xhkzpbGOw1voPbKwg7J+JsxohjRI5fFYpG8PjmGMPw=; b=vf+LU4grn9HSSDZnIwsTWI5NRdBuf/sIFF8nWY0xgJXqp5r4bzryy8fTBtI2MdQsP3 kthKmVnhUis+Bn0FO1CMIRtpJ8yakE5pAgUkaz6/Ix8ff/8NirYQCIJKzhJRI38Ynmz3 iHYTw5gDRbofaS9GK2iiY/iWJddJELjsjtmdvyScahblx2xAmd679JgaehI8ou10R1/p Nr6cEn0sw2neD0VUg2K8sup6PrJmQ7HBWPMuWmO2eGg60of6gr07MsNZG/FDL39vX5S7 F8wj8n3ngSdO4gt1II2DESk+HMO9ap05v31yO6iFmHDESc+vPh8zTgEAzO3OeufDM7YB 6oYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=l7MI3HxA; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si1774066edh.14.2021.06.16.03.41.09; Wed, 16 Jun 2021 03:41:31 -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=k20201202 header.b=l7MI3HxA; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232331AbhFPKmX (ORCPT + 99 others); Wed, 16 Jun 2021 06:42:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:52730 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232053AbhFPKmV (ORCPT ); Wed, 16 Jun 2021 06:42:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 090E761001; Wed, 16 Jun 2021 10:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623840015; bh=mYtSLTd76sDF11uwzoJJMeTTBprwirhYe2TG+3b/lFY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l7MI3HxAPI0WPwvZHkRjqVm1EIjv4rUDlQ31VIaWRnzq7h60O6s506abnuAWiReC+ sGn6q+GUMHuueQB9GhYDfHOihtlnl6cJVqazO8vTEHAyW+0+PFJE2XxLFsmEI/rYeA NvRTCExGlY1Wup5aC1ZvQ/dn7mfuap/q8L8ClAp5rJu0E9TlFv5w5YjaXergApnn+J zWEWhKzxm/e7RkBs/Wc8SZT0o/iPq2c4GOgJYSj957ZU0Nr/dkrDpnX+68fD1KyAyR JPF61PIaZg8zLFbluQN52YsNsvfpDHeeWhiIB4CV/hOopbG4SKaKWyAJUmJXhiYxuV Ux+Xvu1bsdKVA== Date: Wed, 16 Jun 2021 16:10:12 +0530 From: Vinod Koul To: Austin Kim Cc: green.wan@sifive.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, austin.kim@lge.com Subject: Re: [PATCH] dmaengine: sf-pdma: apply proper spinlock flags in sf_pdma_prep_dma_memcpy() Message-ID: References: <20210611065336.GA1121@raspberrypi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210611065336.GA1121@raspberrypi> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-06-21, 07:53, Austin Kim wrote: > From: Austin Kim > > The second parameter of spinlock_irq[save/restore] function is flags, > which is the last input parameter of sf_pdma_prep_dma_memcpy(). > > So declare local variable 'iflags' to be used as the second parameter of > spinlock_irq[save/restore] function. Applied, thanks -- ~Vinod