From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3617CC00140 for ; Mon, 8 Aug 2022 09:25:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238580AbiHHJZu (ORCPT ); Mon, 8 Aug 2022 05:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242343AbiHHJZn (ORCPT ); Mon, 8 Aug 2022 05:25:43 -0400 X-Greylist: delayed 3601 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 08 Aug 2022 02:25:41 PDT Received: from 6.mo575.mail-out.ovh.net (6.mo575.mail-out.ovh.net [46.105.63.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3394338AF for ; Mon, 8 Aug 2022 02:25:40 -0700 (PDT) Received: from player791.ha.ovh.net (unknown [10.110.115.113]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 9A01A23E17 for ; Mon, 8 Aug 2022 08:09:15 +0000 (UTC) Received: from etezian.org (bbcs-175-223.cust.wingo.ch [178.238.175.223]) (Authenticated sender: andi@etezian.org) by player791.ha.ovh.net (Postfix) with ESMTPSA id 0B9A62D4A25E6; Mon, 8 Aug 2022 08:09:02 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-101G004470e5d2f-4ec8-446b-9b2c-f538d1afd209, D07DC7BC5756341CF3D6D9F7D18BF56C80B463DD) smtp.auth=andi@etezian.org X-OVh-ClientIp: 178.238.175.223 Date: Mon, 8 Aug 2022 10:09:02 +0200 From: Andi Shyti To: Chanho Park Cc: Krzysztof Kozlowski , Andi Shyti , Mark Brown , Alim Akhtar , Adithya K V , kernel test robot , linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] spi: s3c64xx: correct dma_chan pointer initialization Message-ID: References: <20220808004851.25122-1-chanho61.park@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220808004851.25122-1-chanho61.park@samsung.com> X-Ovh-Tracer-Id: 14171420654007487195 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefkedgtddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughiucfuhhihthhiuceorghnughisegvthgviihirghnrdhorhhgqeenucggtffrrghtthgvrhhnpeejgfelgeekieffjeegveeuvdehgeelveetveejudffvedvleehvdefleehudelueenucfkpheptddrtddrtddrtddpudejkedrvdefkedrudejhedrvddvfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeeluddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegrnhguihesvghtvgiiihgrnhdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheejhe Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chanho, On Mon, Aug 08, 2022 at 09:48:51AM +0900, Chanho Park wrote: > Use NULL for dma channel pointer initialization instead of plain integer. > > sparse warnings: (new ones prefixed by >>) > >> drivers/spi/spi-s3c64xx.c:387:34: sparse: sparse: Using plain integer as NULL pointer > drivers/spi/spi-s3c64xx.c:388:34: sparse: sparse: Using plain integer as NULL pointer > > Reported-by: kernel test robot > Fixes: 82295bc0d192 ("spi: s3c64xx: move dma_release_channel to unprepare") > Fixes: f52b03c70744 ("spi: s3c64xx: requests spi-dma channel only during data transfer") > Signed-off-by: Chanho Park Reviewed-by: Andi Shyti Thanks, Andi