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=-2.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 3F2BFC06517 for ; Thu, 4 Jul 2019 09:48:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13EB1218A3 for ; Thu, 4 Jul 2019 09:48:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GBtS+Uj8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727537AbfGDJsi (ORCPT ); Thu, 4 Jul 2019 05:48:38 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:35873 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727535AbfGDJsi (ORCPT ); Thu, 4 Jul 2019 05:48:38 -0400 Received: by mail-pf1-f196.google.com with SMTP id r7so2704158pfl.3 for ; Thu, 04 Jul 2019 02:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2UH5tf6umNqbdP3ijV0rfOnwSncCADAiCEkGZp99PCQ=; b=GBtS+Uj8Hlp0uUy+wKTCbJgr2FSZRMznVubXFu1V8nEptW7531bQA/wGb8lvEi9OH0 Pn+xCtWBAtS0Ex73eTusZH/Zc/HjWpDeqoZtqnBW1CaZ2JYRNrnZW7KIJ54F1I8ia3H9 eYcGDweTwkAu3HORZ5om6jY1qlBZjBj2h9yyPHWRkSn7rbQSH3RUTgs2mTezjhMMvVjh ZbvENwM8/O3fxJkPs4HXRdHmt+TafkVThlZNRAMZWcjp0n8a44QN2w/SqW/B/IGz+BmU yeR6ToQrIOowdxRMM2lNeGsFM8+CAw907XrhbIpeF4JAmvzDDM2ytzc2oie86ZdRCMIu qplA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2UH5tf6umNqbdP3ijV0rfOnwSncCADAiCEkGZp99PCQ=; b=f+8M5h+m/2/pLztXKEbM63Ya3X5NmT4E8MzMaLIxC36YcgUldVarIYprWev3NXVcj3 QDeRowtLjvbbE9gudxf/g3abV7nzHHhOO2Bmi0OO1s4GHHBv4nViDhOWKyEsPh2f7Fsp jtyQKekrJNyvI+ZejtvVWfWvltu66KOkLs1j/sCrQPlVZ8bYFovSgSZ2FQnTr2BeCXAi iTUEspFXeKhyVnKtP17vjETKseMWrbuquWYA8dcTMLMuRxyMjjH+9JA2WEC+ZldFC1Wg xZnWd6k3XcJA0z7nyGz6flbhJ0/qWSpuie/HPa7f8Sd+BC1fBTpae9F1KuMAXDYfs65k G/eA== X-Gm-Message-State: APjAAAWBzsgBQZ6Cb57BS7teTwvorzWJcUpftTcGLrvsG7bfhLR89twR adjVUmxiuVTJxIpgXm0tr42JVg== X-Google-Smtp-Source: APXvYqxFAAuQJcoa7vbQx68PaSBO5/fAqpVUsa5FLCOaDp29oElUH+Z7Fp975zsUXBWgRrcfoBh7Hw== X-Received: by 2002:a17:90a:22aa:: with SMTP id s39mr18578430pjc.39.1562233717450; Thu, 04 Jul 2019 02:48:37 -0700 (PDT) Received: from localhost ([122.172.21.205]) by smtp.gmail.com with ESMTPSA id b1sm5188127pfi.91.2019.07.04.02.48.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jul 2019 02:48:36 -0700 (PDT) Date: Thu, 4 Jul 2019 15:18:34 +0530 From: Viresh Kumar To: Stephen Rothwell Cc: "Rafael J. Wysocki" , Linux Next Mailing List , Linux Kernel Mailing List , Matthias Kaehlcke , Ulf Hansson Subject: Re: linux-next: build failure after merge of the pm tree Message-ID: <20190704094834.xbfjvdmly6maw75b@vireshk-i7> References: <20190704194114.086d6a17@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190704194114.086d6a17@canb.auug.org.au> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On 04-07-19, 19:41, Stephen Rothwell wrote: > Hi all, > > After merging the pm tree, today's linux-next build (x86_64 allnoconfig) > failed like this: > > In file included from kernel/power/qos.c:33: > include/linux/pm_qos.h: In function 'dev_pm_qos_read_value': > include/linux/pm_qos.h:205:9: error: expected '(' before 'type' > switch type { > ^~~~ > ( > include/linux/pm_qos.h:205:9: warning: statement with no effect [-Wunused-value] > switch type { > ^~~~ > include/linux/pm_qos.h:216:1: warning: no return statement in function returning non-void [-Wreturn-type] > } > ^ > include/linux/pm_qos.h: At top level: > include/linux/pm_qos.h:231:4: error: expected identifier or '(' before '{' token > { return 0; } > ^ > In file included from kernel/power/qos.c:33: > include/linux/pm_qos.h:228:19: warning: 'dev_pm_qos_add_notifier' declared 'static' but never defined [-Wunused-function] > static inline int dev_pm_qos_add_notifier(struct device *dev, > ^~~~~~~~~~~~~~~~~~~~~~~ > > Caused by commits > > 024a47a2732d ("PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()") > 57fa6137402b ("PM / QOS: Pass request type to dev_pm_qos_read_value()") Yeah, I have already sent the replacement patchset to Rafael. -- viresh