Received: by 10.223.185.116 with SMTP id b49csp6968589wrg; Wed, 28 Feb 2018 20:03:22 -0800 (PST) X-Google-Smtp-Source: AG47ELtZ9M9gHcHuyjuj5rymyNNX4lslKsYtwoyDEi8N2aEcOsVNyfSXsNr3h1HOue/wceEJU37X X-Received: by 2002:a17:902:66e6:: with SMTP id e93-v6mr556735plk.312.1519877002239; Wed, 28 Feb 2018 20:03:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519877002; cv=none; d=google.com; s=arc-20160816; b=z7CB9E7sKeLRL0jn35qeSRlfVXOTeG6duIHNSZiJVI3bQiS4g09p3asqfqxWXF5R2K Ljyg8VzTr0cktLggFR5+fk2fOWNlQuOqcPnfNIT3wWjpz+rKPqUkE7zrKzWg3qDdZrAk WrRpc+LfFlAURxsG2SrJvgl+NhUYuRmM1N484FtrQHiYcsgwY80763eaGiyeJYuGbACx XaYsu99QrGcTUGVbRAACpKeZzLZ2O05HPV9OlIJAdZ2XUXkC8XjsJBJJgLmjGg8ue0Up ppLL56p1hIjmakkhrnOR0twC+venbAliPjA3cs1x4LjOO2zbAb6CF2U1Q7QLfyWjd33A MZiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:from:cc:references:to :subject:arc-authentication-results; bh=k/CB8L5Ai0XAAl5RD4ENj8JBv7ud/SHEhhNv8vRv41I=; b=GmOCt/CEGhyCdiNXvtPKNnKR8/QzbN+d9ijS3R1cC3zPT/HIvG9LmDWH+8PqsRL52x bqCEZI6N98826XrQGZjOEqD+bgxJ91TNPFrz69lNjcIkhuR7yzvPi6grwMnYHg9UShMX pEtXn4G8vxr12iAruv7U0ZRbwpDlEG90vsr5NEHbq4ZMfMWRJdaFmzbe5+uzu71NduGK 4iLAB018vHX7Vm4AMty2uqk52ETv/vkp8660ii86Rqwus/9iFE1g+ubMMcLFXus1jCJ+ eRDnqZPhy1pOXUjCD2V1YNdhQpxuut8af66UK3GBTo2hnFCO2I83edGXiBxDXNFxCM43 rVUg== 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 z13si1210395pfh.217.2018.02.28.20.03.06; Wed, 28 Feb 2018 20:03:22 -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 S965813AbeCAEC3 (ORCPT + 99 others); Wed, 28 Feb 2018 23:02:29 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:54178 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965752AbeCAEC2 (ORCPT ); Wed, 28 Feb 2018 23:02:28 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2141iaZ068495 for ; Wed, 28 Feb 2018 23:02:28 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ge4wg2sgk-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 28 Feb 2018 23:02:27 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 1 Mar 2018 04:02:25 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 1 Mar 2018 04:02:23 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w2142NfX37159050; Thu, 1 Mar 2018 04:02:23 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 77D0AAE061; Thu, 1 Mar 2018 03:53:07 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E606AAE05A; Thu, 1 Mar 2018 03:53:05 +0000 (GMT) Received: from localhost.localdomain (unknown [9.79.216.239]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 1 Mar 2018 03:53:05 +0000 (GMT) Subject: Re: linux-next: build warnings after merge of the block tree To: Stephen Rothwell , Jens Axboe References: <20180301112624.652612c7@canb.auug.org.au> Cc: Linux-Next Mailing List , Linux Kernel Mailing List From: Anshuman Khandual Date: Thu, 1 Mar 2018 09:32:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20180301112624.652612c7@canb.auug.org.au> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18030104-0016-0000-0000-0000052B4138 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18030104-0017-0000-0000-0000286843A6 Message-Id: <1f3b4275-b346-d768-681e-b180ec351140@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-01_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1803010050 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/01/2018 05:56 AM, Stephen Rothwell wrote: > Hi Jens, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) produced these warning: > > In file included from drivers/misc/cardreader/rts5209.c:24:0: > include/linux/rtsx_pci.h:40:0: warning: "SG_END" redefined > #define SG_END 0x02 > > In file included from include/linux/dmapool.h:14:0, > from include/linux/pci.h:1311, > from include/linux/rtsx_pci.h:26, > from drivers/misc/cardreader/rts5209.c:24: > include/linux/scatterlist.h:69:0: note: this is the location of the previous definition > #define SG_END 0x02UL > > In file included from drivers/staging/rts5208/rtsx.h:180:0, > from drivers/staging/rts5208/rtsx.c:28: > drivers/staging/rts5208/rtsx_chip.h:343:0: warning: "SG_END" redefined > #define SG_END 0x02 > > In file included from include/linux/blkdev.h:28:0, > from drivers/staging/rts5208/rtsx.c:23: > include/linux/scatterlist.h:69:0: note: this is the location of the previous definition > #define SG_END 0x02UL > > > and many more the same. > > Introduced by commit > > 723fbf563a6a ("lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings") IIRC this was already detected and hence sent a new version changing this to SG_LAST. https://patchwork.kernel.org/patch/10227897/