Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp926869yba; Fri, 26 Apr 2019 11:03:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQaipwdZXBiuW/NiHsv/K5QSs9t+0gxldQPkzUemGie+RWQ9oMD0GqeaJgG6w/jcE1FhgF X-Received: by 2002:a65:6144:: with SMTP id o4mr44242850pgv.247.1556301815546; Fri, 26 Apr 2019 11:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556301815; cv=none; d=google.com; s=arc-20160816; b=r9l5aj4wzqEct3U6AQdCRro87IvgFCCe4E2uXNnbe3cMSfiXsuMxe6UHdn95YtpWQi p8/XGhWDbGI03jLzna7hHLRsLxBpbJ7zNis5tOnegrgTIlomh6ltY5dN0qlTNsK9NIgd 8JjgR9n+E8WWcD5QQS4zxcvnh4i40tmPPv1Fn2eju0uI5tJvV82ybImtBftW0FVjsag+ XAWWmHN1R0FVjX1UMFXW0DO5qpxCPUm6Cg4B2PxvIEd0oqQJjd1VbvYegRVO7rzTXK7n dYcQ4QdR8Bm0JXcfGiz7hh7/WGEZJ4T4KBYbfJF2Mv7ErihBMXVGbp5NNThCHjUGl3ls 3+dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=QgpcjtM8GqhirZUjj4Yi3UaRcRfryKCQ0fsKcAS6iq4=; b=bVpAao/R6it09dozJHmM4Y9JXFLE0EgS3A0479cGVehGroX1WBfF3FUwpp+qIYmr4+ hJobWzMjWDwDGXEC97wr7elXJyhglCnLC+N7GF9oJaEzzseUE4jdpQZAeIjU8Y/G1Vi/ p9tWl6LvA3yCFGGZPg05ZJuQopFjv93TrJ7uysQmFUk1U4TYb/NgPmy7YgXPI7DGK3J4 uo4nbV5W2cHDtO+C91T3u2L6BKmx0zGIlyYGz1bbJHVzpUMH+8WxkCjVpaThs3JDvC/1 UeSYFA5WaQC8dLl+MOZBo0QIwe6JL2OrFATdloQPXWkJzvVJtSPYLYp6EOoN8kaCW+YL SY0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YouWOTTg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j64si3178468pgc.183.2019.04.26.11.03.20; Fri, 26 Apr 2019 11:03:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YouWOTTg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726328AbfDZSBB (ORCPT + 99 others); Fri, 26 Apr 2019 14:01:01 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44172 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbfDZSBB (ORCPT ); Fri, 26 Apr 2019 14:01:01 -0400 Received: by mail-pl1-f193.google.com with SMTP id y12so1908439plk.11 for ; Fri, 26 Apr 2019 11:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QgpcjtM8GqhirZUjj4Yi3UaRcRfryKCQ0fsKcAS6iq4=; b=YouWOTTgmZcMgpt7BsgUdB1ht6uEf5kKEHHMVB5iGaAehC7W/GOidF6vCoZBSGn538 UHsRrlZEJi8PNRrUi5n1IZArH/kSJjT+MUGdkOAshPUl08i5emUO6Fa7luH8a3b4aBBO MyrWYebW5hlKUwPgobG/hv+gGYU4UEuQ8jianmZP7n7TjrYeGq6dkHvo/iw5HAOAjQdC 2zBMmlV8i0Smep96ysjgn9560upTf1fG7a3C+6vUt/U5xp0+ZMDf9v6gopbdsyM+wycl 3sxkhfZo0ugHJT8wYWGZ9oBjk1w2RCb4aPWw89FcdTUU4/+taYyx/8qysXxBYwAQTUoF sSBQ== 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=QgpcjtM8GqhirZUjj4Yi3UaRcRfryKCQ0fsKcAS6iq4=; b=ZCOH7OgrTW2mLI6RvLAnUQN3xxP6uNY70vZxJYxCTh6mq2wvtZoPmT5s46gNbFW9AE 778D+O6X/SBkiC1LUQZXbKGFjsEOMQdv0zbxTTUcByVXkhL0GLciNVktXuIQZ3eNJHE2 8bOKMEOViuimcXD0k02FqzxseG4RJFHVt0smWP8gNyqbphJKngNWgt7X65T6mUsMG4Z8 bofr7GrI0ZOWE92MdXiTB/o265aW/IJ3jLvL1Ol9Y7Yf/I2fSIwZLR8awBeAUrQ/TOTw L30XSis5eHQptp4BX1t4XkhC8tUipekofCLpYoTrxc/txtv6gr2T69bBsz0aAtKxff4X /h+g== X-Gm-Message-State: APjAAAWUoDgdqb7Lrb0Z0nYcVcxrlAW2hBFDrN9NZbZUKSBQeGYxSzE3 4Oy414JPHpEgCcH10EMZXmbbO2D7r4WQo+4oHJIB0w== X-Received: by 2002:a17:902:7d8f:: with SMTP id a15mr46673534plm.3.1556301660487; Fri, 26 Apr 2019 11:01:00 -0700 (PDT) MIME-Version: 1.0 References: <20190426155653.2cdebc5d@canb.auug.org.au> <20190426062548.GB5920@kroah.com> In-Reply-To: From: Patrick Venture Date: Fri, 26 Apr 2019 11:00:49 -0700 Message-ID: Subject: Re: linux-next: build warning after merge of the char-misc tree To: Greg KH Cc: Stephen Rothwell , Arnd Bergmann , Linux Next Mailing List , Linux Kernel Mailing List , Andrew Jeffery Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 26, 2019 at 7:30 AM Patrick Venture wrote: > > On Thu, Apr 25, 2019 at 11:25 PM Greg KH wrote: > > > > On Fri, Apr 26, 2019 at 03:56:53PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the char-misc tree, today's linux-next build (x86_64 > > > allmodconfig) produced this warning: > > > > > > drivers/misc/aspeed-p2a-ctrl.c: In function 'aspeed_p2a_mmap': > > > drivers/misc/aspeed-p2a-ctrl.c:110:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] > > > pgprot_t prot = vma->vm_page_prot; > > > ^~~~~~~~ > > > > > > Introduced by commit > > > > > > 01c60dcea9f7 ("drivers/misc: Add Aspeed P2A control driver") > > > > Patrick, I thought you fixed all of these already? Can you send a patch > > again? > > I fixed the ones caught by the robot. I'll have to switch up my build > environment a bit to fault on warnings for the kernel, not sure why it > isn't -- Verified the warnings being ignored isn't a local configuration issue, but the way OpenBMC is configured. Verified the warning via normal kernel compilation and fixed the issue. Reran and found no other issues for that drivers. Submitted patch for review. > > > > > Can you also make the driver so it can build with CONFIG_COMPILE_TEST > > enabled so that others can find your problems earlier in the review > > process? Verified the driver builds and produces no warnings. Thanks, Patrick > > Roger that. > > > > > thanks, > > > > greg k-h