Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4535193rwb; Mon, 8 Aug 2022 02:47:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR65xrutLASzIIQ8gdES4vIPbkNPmGTWzAEHdqIjve68NPAf8VOWaJjDR0VSxnsagN885a4b X-Received: by 2002:a63:5d06:0:b0:41c:ef94:2b54 with SMTP id r6-20020a635d06000000b0041cef942b54mr13792655pgb.431.1659952040971; Mon, 08 Aug 2022 02:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659952040; cv=none; d=google.com; s=arc-20160816; b=lFzX6uGlVSRrCU/6h9QNys49eBZ+04ZlGawinqGu+rO6vTuJmTVjrCbbrqv/+VcxIg 6tGYzdMABnqRWkmmugnNNizQUbGdVb+Mycoe9mDZT1zYzlflc5rfoJczBiXugwvnUAxY Nv4688v3aieRa2hbzyQyMz8IIi7yAidle7vxsXAUEcdVVB78kOz3sidZeZLEIU18c7rO 1rhCB/7VFgMliJFF4cUk9XxP6RRJN5d9spBpww2cU63M+uS3yI9DK/hwCbkMqk1h1N9z Ybrk8U2kMc3wZXs3Tlmpgiy21+u8CC1b8TzsxwLoLqJ3+4KTBWdUG0dOpiWtV1fn2oiO bjVg== 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; bh=K8cBfGBGtxulrBBLXpyUVEGwt4oMPUyg9wDCqWinUOQ=; b=Za+o2f23vRZrzfiR7bWjFbD92jXI/8LWoxKREKfAR07ljOGc6pr6UlkTu9PdOCmmSt o4PofmUqVn1KDRpOWkHwLQAp1Y9NhRMtHy3QZAodR3cWMfU/RnjdHUHYv2EV7kRev3Iy U/+iaodsYgZkWsH8Mfyvftf5CAgwEU9X94C/zszOm7nPeEI1wZASP49EHG1pwNsg4Rh9 MZXYshjk5IFgg+5J85zusJZHTE2r+mp2tjhd2sPpQDgQidRqbJVgLUeDoEDMSYlnbO7k SDN4buxrkXJ20JkL8gC+riwZNSHX5fXtyjnY+5SM+VN91qN8CapEghP97XRVEbba1/zi iNxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=etezian.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a186-20020a6390c3000000b0041b19be2e2csi10644977pge.216.2022.08.08.02.47.06; Mon, 08 Aug 2022 02:47:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=etezian.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237120AbiHHJZu (ORCPT + 99 others); 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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