Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1741921imm; Tue, 10 Jul 2018 07:11:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdsVKhxg9pdvbiQRr/1sf4suO2xYDjFkCf/QeAZRBcdqH8nxaceww7vRo0XUch7bH8gDbMu X-Received: by 2002:a65:6110:: with SMTP id z16-v6mr18543007pgu.412.1531231909971; Tue, 10 Jul 2018 07:11:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531231909; cv=none; d=google.com; s=arc-20160816; b=MMm5RuDTo6ferLuGIF6ZiySOxyZhiNTWxzniADpD6DkxVEc8g61ptBl9DSYSXrg4qL TRi+xs2kIyEsXv1nean7F6yMPSRwBrURxqB2NBDQu2BZUSgNl2gZc/PqicW27Y/bP1Pe 7watcxs2HKr0MeRxwucr6bE4yrbDKZIA9e1vPZoFKN3UKV/MOb2/E8xvXCKaySpIGGa+ SlMSJRW5NvXnmQS5oSORoHS2SV+qy0y8ZdtHmyMDXWXIBLnaUfqOb/stmjdHCDueHMRL F4DQfKmrbb+Y7bIrZqQr9lnHRIc7TvhgPAw7RWg8V+VXonmMH9X3zXTNXW5KnPjoNFBK M7WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=fS6baTSJEG8SaLBt6bqVqyaCk7tDANzIA2Z+Rzj3ki8=; b=t/SjKF0QbdKg21qrMw9qVjND3Opku3VURXg9RZRuUOLhmAEg+o6gFx9S236V9FimYM 5cFwoauaJ95fZpo794vmNDeiCDKOkBADxpIaRod6PRgk7Je0+75RuMYrexfNz3HvpUQf sNW/PChh84ppYDr4/t1HFMmmnc7bVe5k4Tfk8EncXKRB8qcKCx0iy2MUmAmkAggW6Z7H cN7Ke4fM8ZyTs6a0RpP6r3pzef4DtmrLASoTr353ZM/Iu9yVUOSbtuD+prZ10Sxy9iPw TcDKroW/VH/7gqN53Q9yDiuAKq7R+RQ/iaIU1FV8FidseGYpD9nTf9pX0bC9IurI1fs+ 4Pbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=AxPwNJML; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v84-v6si9448492pfd.71.2018.07.10.07.11.35; Tue, 10 Jul 2018 07:11:49 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=AxPwNJML; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933414AbeGJOKC (ORCPT + 99 others); Tue, 10 Jul 2018 10:10:02 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:52816 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754265AbeGJOKB (ORCPT ); Tue, 10 Jul 2018 10:10:01 -0400 Received: by mail-it0-f66.google.com with SMTP id p4-v6so30680466itf.2 for ; Tue, 10 Jul 2018 07:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=fS6baTSJEG8SaLBt6bqVqyaCk7tDANzIA2Z+Rzj3ki8=; b=AxPwNJMLReo3bgBvSHTN/67PCNtE7XjY/SbVINTbBoeGGWe79cYg5z0cdMNduiypKm dJ2aISNcUkje/1nVFseKgC4IOrcGqHopoQTvwxDmY4CUFIt+T2dRpml8P8dCZkNOsjQK GgMQK2sHCjVMb9iJuRyr06vZTqHABzRRojpZBzBgAXPsqFzOBLCy+Pg8yc9jOoJE9YOJ utbQw8esNXBYncx7q9OMwfBaTZk8p4kPoc0Dh/xr4uoa0MM7wcJ7PBM9w542NvZkj4bE kWo1hZYjKbdEblYWMuPiOVUQ92BKeXYRRBCqXDhiAV/GgGmEwdzlJkW3Rhh66jHMsuu+ uldw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=fS6baTSJEG8SaLBt6bqVqyaCk7tDANzIA2Z+Rzj3ki8=; b=Uzw85SgAOzXqIpLKt4kX+Y4upnSyArqhShkqIEyW+RzkwLYOhMg7Vi9MpdffuRkocA TKjPYTuiqnlXc3KoW4xlOddTuyztK2Jwn0zeC9jZWZB/eZlBjxZohf1vYdRAHG/ebLmx Gcf/nuIIpVAw+klfOVHxBYRToXiIbfglmVoD+X4p8RJHjGpaDQk34PBfreS2vnLrZQXj rzoEpjHhHA0Jz4mhe191gRsTNiWf+2A2LPAdLxsYRs8vc7qU14AA1NJDeG7TemfaG8zq 0+/gCpKG+ZcJPoO+mcCEV7FFKaIlbZQIz/DEG39upqK74UQN90T3NgDC2TQTP5d/LKSd MYig== X-Gm-Message-State: APt69E2n6w69s+KD5FJ2k4VA7DkLag96jCFe/jnA0hJkWeiLWKhzPIvA RwURttK/3D6aPm8WGxH8Uk/PVg== X-Received: by 2002:a24:2b56:: with SMTP id h83-v6mr18377032ita.94.1531231800361; Tue, 10 Jul 2018 07:10:00 -0700 (PDT) Received: from [192.168.1.167] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id l82-v6sm9942691itl.25.2018.07.10.07.09.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 07:09:59 -0700 (PDT) Subject: Re: linux-next: build warning after merge of the scsi tree To: Stephen Rothwell , James Bottomley Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Matthew Wilcox , "Martin K. Petersen" , Felipe Balbi , Omar Sandoval References: <20180620132911.5f6ab464@canb.auug.org.au> <20180710173114.17ee69ad@canb.auug.org.au> From: Jens Axboe Message-ID: <280ebbdf-fafb-1744-f517-815a30e682bb@kernel.dk> Date: Tue, 10 Jul 2018 08:09:57 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180710173114.17ee69ad@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/10/18 1:31 AM, Stephen Rothwell wrote: > Hi all, > > On Wed, 20 Jun 2018 13:29:10 +1000 Stephen Rothwell wrote: >> >> After merging the scsi tree, today's linux-next build (powerpc >> allyesconfig) produced this warning: >> >> In file included from include/target/target_core_base.h:7:0, >> from drivers/target/target_core_tmr.c:31: >> include/linux/sbitmap.h:331:46: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration >> void sbitmap_show(struct sbitmap *sb, struct seq_file *m); >> ^~~~~~~~ >> include/linux/sbitmap.h:342:53: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration >> void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m); >> ^~~~~~~~ >> include/linux/sbitmap.h:530:59: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration >> void sbitmap_queue_show(struct sbitmap_queue *sbq, struct seq_file *m); >> ^~~~~~~~ >> In file included from include/target/target_core_base.h:7:0, >> from drivers/target/target_core_ua.c:30: >> include/linux/sbitmap.h:331:46: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration >> void sbitmap_show(struct sbitmap *sb, struct seq_file *m); >> ^~~~~~~~ >> include/linux/sbitmap.h:342:53: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration >> void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m); >> ^~~~~~~~ >> include/linux/sbitmap.h:530:59: warning: 'struct seq_file' declared inside parameter list will not be visible outside of this definition or declaration >> void sbitmap_queue_show(struct sbitmap_queue *sbq, struct seq_file *m); >> ^~~~~~~~ >> >> Introduced by commit >> >> 24af1ccfe12a ("sbitmap: add helpers for dumping to a seq_file") >> >> in v4.11.rc1, but exposed by commit >> >> eca7ee1f33e8 ("scsi: target: Convert target drivers to use sbitmap") > > I am still seeing these warnings ... Martin queued up the forward declaration patch for this one, not sure why it isn't showing up in the scsi tree yet. -- Jens Axboe