Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6948116ybf; Fri, 6 Mar 2020 07:31:55 -0800 (PST) X-Google-Smtp-Source: ADFU+vt7TMFnjyU5FZG23o1gCHPg8IT46Jba9rbOCZ2n/rYOxwZcM/WToIteL05/LiRzsDmuagAJ X-Received: by 2002:a05:6808:a0a:: with SMTP id n10mr3082352oij.10.1583508715439; Fri, 06 Mar 2020 07:31:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583508715; cv=none; d=google.com; s=arc-20160816; b=pza/JCepiBeWiMgyZnQ3MEkpWqnvAU2hl5vka9V649VjKHKEJCNQe2AsrYXRsOo3fl dpZxTpPCPKU2UunwUJ2uQBvU1/zEGAhOrVTgMa4UjRBNit0FovJPkKLCUchLDVLfCVsW rrzqiQj7AVqAi51vMg91fz4KXytCVV2aBkPjbbnJr6dEuEjKOT793DEHDKY0bwsYfLG/ QlNOetWFn9Z6vMaozO2jNPp+9m0+VrIJO/hCLM20hCzU1S5ocMU3VPfqcvZqeZH/TgFw fiLdAsyJ9zalyn3FxDmij119cDwgLmWHwYSHyC4Yhj4dSFUNFw6Mj8XvMPw2Fd01j2Ox HiwA== 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; bh=fZ3uZ/w/80qLAFhny3nZLPsuTGhacTVhkMSmGh/GFnE=; b=DpMjwJ8A45uRoBDK+q+9P/GXrzqxt4VHKWsPN/7nsBpjjAdMx3jkG3bq5dVUEUxz4m z/MSmyQ98t5MYOHfsqOddKu2xN9NxMpm1wfpIQ0x+XhW452tvm8dg/vAYeKA9u2jvl0p hajXyodwUQXbYemOwFpmTRPNWnnUS/WmB/U9cDNK16HsZGWabk/65UQzsgJNEpboEXzC PRV5PhmJogafCTRGfYoOY65Hya0NB41s5uq7RwhaPuAw/5xfulX48J/K9x1QpLhXT+by B2NDYBmAa74jb1h5USNuXJjFXr5FSKkJ4oEXU99dDndrnSStycjvKkGBPncpITYzLvxq BwBQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17si1566329oic.145.2020.03.06.07.31.37; Fri, 06 Mar 2020 07:31:55 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727121AbgCFPaw (ORCPT + 99 others); Fri, 6 Mar 2020 10:30:52 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:54008 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726259AbgCFPaw (ORCPT ); Fri, 6 Mar 2020 10:30:52 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 026FK4Bk070503; Fri, 6 Mar 2020 10:30:44 -0500 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yk8hn010j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Mar 2020 10:30:44 -0500 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 026FUavg026764; Fri, 6 Mar 2020 15:30:43 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma03dal.us.ibm.com with ESMTP id 2yffk89jx2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Mar 2020 15:30:43 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 026FUguc32375148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 6 Mar 2020 15:30:42 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AF71D124058; Fri, 6 Mar 2020 15:30:42 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6608A124054; Fri, 6 Mar 2020 15:30:42 +0000 (GMT) Received: from oc6034535106.ibm.com (unknown [9.10.86.157]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 6 Mar 2020 15:30:42 +0000 (GMT) Subject: Re: linux-next: build warning after merge of the scsi-mkp tree To: Stephen Rothwell , James Bottomley Cc: "Martin K. Petersen" , Linux Next Mailing List , Linux Kernel Mailing List References: <20200302133543.7052d654@canb.auug.org.au> <5bff0f26-3b20-e240-e1b4-65af411a3a56@linux.vnet.ibm.com> <20200306155209.34e85ab2@canb.auug.org.au> From: Brian King Message-ID: Date: Fri, 6 Mar 2020 09:30:42 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200306155209.34e85ab2@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-06_04:2020-03-06,2020-03-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 adultscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 priorityscore=1501 spamscore=0 mlxscore=0 bulkscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003060108 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/5/20 10:52 PM, Stephen Rothwell wrote: > Hi all, > > On Mon, 2 Mar 2020 08:36:20 -0600 Brian King wrote: >> >> On 3/1/20 8:35 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> After merging the scsi-mkp tree, today's linux-next build (powerpc >>> ppc64_defconfig) produced this warning: >>> >>> In file included from include/uapi/linux/posix_types.h:5, >>> from include/uapi/linux/types.h:14, >>> from include/linux/types.h:6, >>> from include/linux/list.h:5, >>> from include/linux/module.h:12, >>> from drivers/scsi/ibmvscsi/ibmvfc.c:10: >>> drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_tgt_implicit_logout_and_del': >>> include/linux/stddef.h:8:14: warning: 'return' with a value, in function returning void [-Wreturn-type] >>> 8 | #define NULL ((void *)0) >>> | ^ >>> drivers/scsi/ibmvscsi/ibmvfc.c:3644:10: note: in expansion of macro 'NULL' >>> 3644 | return NULL; >>> | ^~~~ >>> drivers/scsi/ibmvscsi/ibmvfc.c:3638:13: note: declared here >>> 3638 | static void ibmvfc_tgt_implicit_logout_and_del(struct ibmvfc_target *tgt) >>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>> Introduced by commit >>> >>> 54b04c99d02e ("scsi: ibmvfc: Avoid loss of all paths during SVC node reboot") >> >> Thanks. I'll send the one line fix. > > I am still getting this warning, but it is now after the merge of the > scsi tree. > I sent the fix to the list, waiting for it to get pulled in: https://marc.info/?l=linux-scsi&m=158315998321290&w=2 -- Brian King Power Linux I/O IBM Linux Technology Center