Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp593045pxb; Wed, 27 Jan 2021 16:07:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2SeE/HnE6WEvlnclxJVGuBLQYOHGRwU+azn6c9D+EZsdftqd3LWvEmNykrvCZgEeqe74u X-Received: by 2002:a17:906:c793:: with SMTP id cw19mr8412828ejb.246.1611792464487; Wed, 27 Jan 2021 16:07:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792464; cv=none; d=google.com; s=arc-20160816; b=Hdj8uXW16bUkTUy56I0oCXyjg4SeeaBHlg4jzCnh2kd6rdCaQcWyHlgtq9C+sQy3YM X84V3nrQLHL5VAgo1Y775fiqcSA+T658E7f2zzbqJA8Gjq7Qan+EhFXh7IT3lZUmkaEu DM9RAud1G7P2vmhTQdbUjbDreEaNxKWTHrd6Y+GQDmsfSj5dohP8BrRUM8FO80AucsuQ GoDnZakVVRhUZPTMy4j0Xtg1eKihowkdf1K1cTXhKvkTxhBjP1dCpfu30N6+i0sJlkeW AaQKxC5TcJW1RdKymj1FW1cvyccKUVHEaKKZdTjCOXCTj5Nq+rfY5ttFlnsrkTjmgqGk CtRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:reply-to; bh=FOfPB8zcy2OP+g1sth2nM6uHtmtmWSTVS2GXEc1nFRk=; b=yk16VYb/zJjZJB4IviQ7Vgk0p19CnZ7aePuvAFpK3O93nst3gBJLt41SQA3z48/l3U fImu8IhtXQaVOdNhaT6Al9edsxHyYaTAsX8MCn/JpElqaf0Umli7ZLiIG3TuS8AliT+b V+qvDhTdufVLtnp4Pm/b/NF4/nKQHn1LU8Fp5QYix64wJg9c7w8AeIM3lhojNrKO4zC6 Oy1+gzaj2Cs3ViIQYBZqX311IlyZSeVRN+hvfX6EkH2EBDWt/dtf32RD0sRJ16sWpeyV NrkAAMrE487n3JqNY+n3cLwd1PuAVD8l9HEuCPzHkViDnDF90dSItWO5ajAsiHLs1kJd 9Osw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kd11si1506334ejc.330.2021.01.27.16.07.19; Wed, 27 Jan 2021 16:07:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233964AbhA0RNs (ORCPT + 99 others); Wed, 27 Jan 2021 12:13:48 -0500 Received: from mail-1.ca.inter.net ([208.85.220.69]:47850 "EHLO mail-1.ca.inter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235456AbhA0RL0 (ORCPT ); Wed, 27 Jan 2021 12:11:26 -0500 Received: from localhost (offload-3.ca.inter.net [208.85.220.70]) by mail-1.ca.inter.net (Postfix) with ESMTP id 16AD32EA526; Wed, 27 Jan 2021 12:10:40 -0500 (EST) Received: from mail-1.ca.inter.net ([208.85.220.69]) by localhost (offload-3.ca.inter.net [208.85.220.70]) (amavisd-new, port 10024) with ESMTP id BL49C9vmT2qc; Wed, 27 Jan 2021 11:56:28 -0500 (EST) Received: from [192.168.48.23] (host-104-157-204-209.dyn.295.ca [104.157.204.209]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: dgilbert@interlog.com) by mail-1.ca.inter.net (Postfix) with ESMTPSA id 63FDD2EA1B5; Wed, 27 Jan 2021 12:10:39 -0500 (EST) Reply-To: dgilbert@interlog.com Subject: Re: linux-next: build failure after merge of the scsi-mkp tree To: Stephen Rothwell , "Martin K. Petersen" Cc: Linux Kernel Mailing List , Linux Next Mailing List , James Bottomley References: <20210125151310.20e71400@canb.auug.org.au> <17ccd90b-8616-1f20-ad5d-e250834c02fe@interlog.com> <20210127180145.5b955898@canb.auug.org.au> From: Douglas Gilbert Message-ID: <551e1ed2-74f6-315d-1000-fe03aa601bec@interlog.com> Date: Wed, 27 Jan 2021 12:10:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210127180145.5b955898@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-01-27 2:01 a.m., Stephen Rothwell wrote: > Hi all, > > On Mon, 25 Jan 2021 00:53:59 -0500 Douglas Gilbert wrote: >> >> On 2021-01-24 11:13 p.m., Stephen Rothwell wrote: >>> >>> After merging the scsi-mkp tree, today's linux-next build (powerpc >>> ppc64_defconfig) failed like this: >>> >>> drivers/scsi/sg.c: In function 'sg_find_srp_by_id': >>> drivers/scsi/sg.c:2908:4: error: expected '}' before 'else' >>> 2908 | else >>> | ^~~~ >>> drivers/scsi/sg.c:2902:16: warning: unused variable 'cptp' [-Wunused-variable] >>> 2902 | const char *cptp = "pack_id="; >>> | ^~~~ >>> drivers/scsi/sg.c:2896:5: error: label 'good' used but not defined >>> 2896 | goto good; >>> | ^~~~ >>> drivers/scsi/sg.c: At top level: >>> drivers/scsi/sg.c:2913:2: error: expected identifier or '(' before 'return' >>> 2913 | return NULL; >>> | ^~~~~~ >>> drivers/scsi/sg.c:2914:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token >>> 2914 | good: >>> | ^ >>> drivers/scsi/sg.c:2917:2: error: expected identifier or '(' before 'return' >>> 2917 | return srp; >>> | ^~~~~~ >>> drivers/scsi/sg.c:2918:1: error: expected identifier or '(' before '}' token >>> 2918 | } >>> | ^ >>> drivers/scsi/sg.c: In function 'sg_find_srp_by_id': >>> drivers/scsi/sg.c:2912:2: error: control reaches end of non-void function [-Werror=return-type] >>> 2912 | } >>> | ^ >>> >>> Caused by commit >>> >>> 7323ad3618b6 ("scsi: sg: Replace rq array with xarray") >>> >>> SG_LOG() degenerates to "{}" in some configs ... >>> >>> I have used the scsi-mkp tree from next-20210122 for today. >> >> I sent a new patchset to the linux-scsi list about 4 hours ago to >> fix that. >> >> Doug Gilbert > > I am still getting this build failure. Hi, I resent the original patch set, with fixes, against the linux-scsi list yesterday but that was not the form that Martin Petersen needs it in. That was against his 5.12/scsi-queue branch which is roughly lk 5.11.0-rc2. He has referred me to his 5.12/scsi-staging branch which looks half applied from the 45 patch set that I have been sending to the linux-scsi list. Trying to find out if that was the intention or a mistake. The other issue is a large patchset that removes the first function argument from blk_execute_rq_nowait() which is used by the sg driver. Doug Gilbert