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 X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14BAAC433E0 for ; Fri, 5 Jun 2020 16:06:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C3F23206DB for ; Fri, 5 Jun 2020 16:06:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cqIdLv71" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C3F23206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5890480007; Fri, 5 Jun 2020 12:06:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 539ED8E0006; Fri, 5 Jun 2020 12:06:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4771980007; Fri, 5 Jun 2020 12:06:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0071.hostedemail.com [216.40.44.71]) by kanga.kvack.org (Postfix) with ESMTP id 2EE858E0006 for ; Fri, 5 Jun 2020 12:06:35 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 83D3E181ABE87 for ; Fri, 5 Jun 2020 16:06:33 +0000 (UTC) X-FDA: 76895635866.17.kick54_5c1785026da1 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin17.hostedemail.com (Postfix) with ESMTP id 3E0A5180CF6C6 for ; Fri, 5 Jun 2020 16:06:33 +0000 (UTC) X-HE-Tag: kick54_5c1785026da1 X-Filterd-Recvd-Size: 4958 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by imf41.hostedemail.com (Postfix) with ESMTP for ; Fri, 5 Jun 2020 16:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591373191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fvReK54/EnmjR8PPKsgGSJ2wdGtp/W1phE0JlNP3s8M=; b=cqIdLv71FSJbIO7WxKbehqKnRwv5NotrSvvYnAbmS2k43kJT9swqHOUuGIkxwJdiVN/Gkx 8SVji/sDZ9pr1ZjJJxS4BsnGWdwBZ/6N9LO/fb6ovYxPMuKebXiBX7G2KV2wpw+/OuBWJN 02C+LLJK56B4cC/1PG6nO/JMRCfC4Jo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-499-7MidB20YPiGBFyf4ZcD9Cg-1; Fri, 05 Jun 2020 12:05:57 -0400 X-MC-Unique: 7MidB20YPiGBFyf4ZcD9Cg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E6314A0BD7; Fri, 5 Jun 2020 16:05:55 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (ovpn-117-20.rdu2.redhat.com [10.10.117.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AD1AF5C5FA; Fri, 5 Jun 2020 16:05:54 +0000 (UTC) From: Aaron Conole To: kernel test robot Cc: kbuild-all@lists.01.org, Greg Kroah-Hartman , Andrew Morton , Linux Memory Management List , Sasha Levin Subject: Re: [linux-stable-rc:linux-4.4.y 9981/9999] include/linux/printk.h:113:2: note: in expansion of macro 'if' References: <202006052349.SSYaJ4lw%lkp@intel.com> Date: Fri, 05 Jun 2020 12:05:53 -0400 In-Reply-To: <202006052349.SSYaJ4lw%lkp@intel.com> (kernel test robot's message of "Fri, 5 Jun 2020 23:52:52 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Rspamd-Queue-Id: 3E0A5180CF6C6 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: kernel test robot writes: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y > head: bb07acdd9271518022b632253e857f43c09fb147 > commit: b60b53d4980f879884740e672d83155980d74445 [9981/9999] printk: help pr_debug and pr_devel to optimize out arguments > config: i386-randconfig-s001-20200605 (attached as .config) > compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 > reproduce: > # apt-get install sparse > # sparse version: v0.6.1-246-g41f651b4-dirty > git checkout b60b53d4980f879884740e672d83155980d74445 > # save the attached .config to linux build tree > make W=1 C=1 ARCH=i386 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>, old ones prefixed by <<): > > In file included from include/linux/ioport.h:12:0, > from include/linux/device.h:16, > from include/linux/platform_device.h:14, > from arch/x86/kernel/cpu/microcode/core.c:24: > arch/x86/kernel/cpu/microcode/core.c: In function 'mc_cpu_callback': > include/linux/compiler.h:163:5: warning: this statement may fall through [-Wimplicit-fallthrough=] > if (__builtin_constant_p(!!(cond)) ? !!(cond) : ^ > include/linux/compiler.h:161:23: note: in expansion of macro '__trace_if' > #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) > ^~~~~~~~~~ >>> include/linux/printk.h:113:2: note: in expansion of macro 'if' > if (0) ^~ > include/linux/printk.h:289:2: note: in expansion of macro 'no_printk' > no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) > ^~~~~~~~~ > arch/x86/kernel/cpu/microcode/core.c:599:3: note: in expansion of macro 'pr_debug' > pr_debug("CPU%d addedn", cpu); > ^~~~~~~~ > arch/x86/kernel/cpu/microcode/core.c:605:2: note: here > case CPU_DOWN_FAILED: > ^~~~ I guess there's a missing /* fallthrough */ tag for this case - not sure why it flagged on this particular commit. Doesn't look related. > vim +/if +113 include/linux/printk.h > > 106 > 107 /* > 108 * Dummy printk for disabled debugging statements to use whilst maintaining > 109 * gcc's format checking. > 110 */ > 111 #define no_printk(fmt, ...) \ > 112 do { \ > > 113 if (0) \ > 114 printk(fmt, ##__VA_ARGS__); \ > 115 } while (0) > 116 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org