Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp619487pxu; Tue, 5 Jan 2021 22:55:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2BPwUDsmDTD5vp/JnodF92Sq0HdP5pBmWZSTFIUzXMFSQw1vi5GKqB7edihEH4nv7Yrem X-Received: by 2002:a50:9ea4:: with SMTP id a33mr3009565edf.70.1609916112444; Tue, 05 Jan 2021 22:55:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609916112; cv=none; d=google.com; s=arc-20160816; b=aiD2tCVY9+Gp7Ws9a7ba5x2ViOET/giGN3zZ29s7zjM6QGnxKLvsnssnW7SRVG4+In /mkjJVyKGi0WuOi+uw8WnAikCcbBI4wuZ0j3S1JfqzM6vVeXjE0tNKSud8eqlk4DFWSq 0X+tCTqv0opj53SHHfh1dLbCryb3vqhLZWI31EXdVLcUaB/79Dngb5A/G6FhZH/7aaNF ywCpO6iFEsn+1aI9E8BNRGZMDusRTsgicHv3F/WoRXaJSn3cSk4hEPIkV246HpFiYRBx pjuKZv/rszy0DepxkvuIp7B/m3z+uugKtrkTSZ+bw6z8/nBToDibx/PtEMH3TLGLsdsH /Emg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oZy7Sz3n8S2tjruUbeBIOImdiAfddQyS0bUKqfEICmE=; b=f2iVnXAY0Xb/AP5Htkutux9VB93Fv1Ex/G8Z+pqJG5iKRvQIYs6V70RqsBfAHmzu9X IqNZWLdFFFcwa0gXS0pRXUgXdx2HeGNq2ga/lqeHLMmVXe5DY2nUhc+83Egsgp64VMl0 BLBY7kENQYvxKR4fMGa/grn5r7uYMqd2ejYPfNi+PHGcmyoqlrWwoDr1cRy/NJYJH6z0 5zS7OCfRuvSbEm+K9b8eoyhaG8qq5YiJmH3/hXp6CvKM2ggjjZ7RYHGbqs1Tq15W8wDX 2BmgrsnGMvi/upfKYeWI7tmDUw4j9udXt8ufQxeuV4BmeltrTsIyLDlEEMOzpPvwG5G6 vBkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="0/uMMMlT"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si546238ejd.719.2021.01.05.22.54.49; Tue, 05 Jan 2021 22:55:12 -0800 (PST) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="0/uMMMlT"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726098AbhAFGxj (ORCPT + 99 others); Wed, 6 Jan 2021 01:53:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbhAFGxj (ORCPT ); Wed, 6 Jan 2021 01:53:39 -0500 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C62FC061357 for ; Tue, 5 Jan 2021 22:52:59 -0800 (PST) Received: by mail-ej1-x62d.google.com with SMTP id lt17so3763048ejb.3 for ; Tue, 05 Jan 2021 22:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oZy7Sz3n8S2tjruUbeBIOImdiAfddQyS0bUKqfEICmE=; b=0/uMMMlT9Lx/HzqYctXAj/Uxouwkgdk3F/F4OzQtqUaoOgrTiIDJe5GgPjJ2xgYN/c 4joRS04ju2a4w0/C/AA25vChYFrJ7zbJH0H395SowwwCpIqJTrvKKtFu0COtttHqCz39 BoHtBJsXde9ak0/BRF6emuWGs4llvyZrFTKI9rSm1LYKAnYGTZcaPG9lzTL5snyQAL0j ldKIepsLcmv024Q8/vuy04pxKJQ17tz922AmzcGr1H1a0nboBKIfK0LLpVF4+NDFq5fI CCYOAZuea04kxgfWaZNaIlIsxg7+I4moxxZaxAy1q2IrXgiSMpfsu8oEfOeDCLGYdSdQ SLAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oZy7Sz3n8S2tjruUbeBIOImdiAfddQyS0bUKqfEICmE=; b=QUxx5KPLMLyhfaMaYGWDFnfYHDi4AtEWX+xnqholn6lUUAiy9maI0hiNeRcLd07Ys2 p3BjqlhYLKvV94PSWeHSPrddyvLKDeullD7lRvxoRSAKOOl5qtbvNxMYuFEzWnNkzTAC Y4m+BwngV7grGNtFkCR43s/dfeYY12LdIUN5YHP5f42zkox0rLrsyg3oUXDylgnonohE WqKvyqsa79vLZm77is2I+yANjBex8lVbdQ6TXLs/Rjw+Oar95s5A/6rMapr2XHIigIqZ MdcaIcA4UfElq/4XqO61G9PMmaRCwwKbU3UKBVHnpdaXKYwyPv6tzYku/2oyxzTCmcZs Q9Rg== X-Gm-Message-State: AOAM531U3jKIgzalr6fghvvpKn+LrYvgFriGBO0RfFcOVZ9TJveXwwHx wS6M9PNbrKYFrCIjmsmz8hrWow+CE8BjAZ7N+zzYtOReZYU= X-Received: by 2002:a17:907:b09:: with SMTP id h9mr1967943ejl.155.1609915977620; Tue, 05 Jan 2021 22:52:57 -0800 (PST) MIME-Version: 1.0 References: <20210105134424.30632-1-brgl@bgdev.pl> <202101061453.E7YDzBDz-lkp@intel.com> In-Reply-To: <202101061453.E7YDzBDz-lkp@intel.com> From: Bartosz Golaszewski Date: Wed, 6 Jan 2021 07:52:46 +0100 Message-ID: Subject: Re: [PATCH] rtc: s5m: use devm_i2c_new_dummy_device() To: kernel test robot Cc: Bartosz Golaszewski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Alessandro Zummo , Alexandre Belloni , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, LKML , linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 6, 2021 at 7:47 AM kernel test robot wrote: > > Hi Bartosz, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on abelloni/rtc-next] > [also build test WARNING on v5.11-rc2 next-20210104] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Bartosz-Golaszewski/rtc-s5m-use-devm_i2c_new_dummy_device/20210105-214736 > base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next > config: x86_64-randconfig-a004-20210105 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5c951623bc8965fa1e89660f2f5f4a2944e4981a) > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install x86_64 cross compiling tool for clang build > # apt-get install binutils-x86-64-linux-gnu > # https://github.com/0day-ci/linux/commit/21651184178d1001f3bbc858c9161f1b7fd65321 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Bartosz-Golaszewski/rtc-s5m-use-devm_i2c_new_dummy_device/20210105-214736 > git checkout 21651184178d1001f3bbc858c9161f1b7fd65321 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/rtc/rtc-s5m.c:773:4: warning: variable 'ret' is uninitialized when used here [-Wuninitialized] > ret); > ^~~ > include/linux/dev_printk.h:112:32: note: expanded from macro 'dev_err' > _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__) > ^~~~~~~~~~~ > drivers/rtc/rtc-s5m.c:719:9: note: initialize the variable 'ret' to silence this warning > int ret, alarm_irq; > ^ > = 0 > 1 warning generated. > > > vim +/ret +773 drivers/rtc/rtc-s5m.c > This isn't caused by this patch, it seems to be an older bug. I can try to fix it while at it. Bart