Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp492874pxu; Fri, 23 Oct 2020 06:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwscLXa+BsMLLW704/fnHJm3QBHWUXctSaArAmCXJMexFXe5Brot2lS3YraVaUKvnyPUzzw X-Received: by 2002:a05:6402:941:: with SMTP id h1mr2054549edz.154.1603459426636; Fri, 23 Oct 2020 06:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603459426; cv=none; d=google.com; s=arc-20160816; b=D63XB0RDMVC3phQ6jISflR07ye3eqMWiTFmdZkhTG9VWNnMMO4smZx14deAXWe4aXc wWJ7Ix/5jJco5SDXW5IOtZtk1hz+8DF0HCOilVhedIPJYBERDFvyk450mRExTjKn4hX4 A4OMAdiGzEg7SNYeZ5DPuLDO3dKjXtK1C+Mj35v0OYa4athrk/XimASl7fRGBsyM7ImK 8L1GicjgKpyO1vOyU/rHgbLnCijH+VkrjP1tT/s/yiE1bdMGIGmASn5p3Flo4jB/zauL cKgTJ0c+Wo8qodvnctkZrtgQu6+LEe4OPebqclBVt1if1oZxDrTn+q7FWttN0Lzs3ho1 ID0w== 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:dkim-signature; bh=l3qcvdtan5dRvVPenI5CllkZ6Ty3UdDPZyBIxdORfFE=; b=WqxJSn9/igsKpAQeTxsQHzDm5oGFkElEHMNbXSgtvbPTRqk/5l0rdtJ1d/C4kWErI7 SXj6QsI6OZHi7wVfIJl0JLiz1Go301+cyuz5wN2ZswzWuZhr2D8c294N0sI4xRA3Px7R JUPyQLSbpzQvLYJcpnA7O1zy0Yfubn/yU9pCzUQGNvRJDWR5bMGpciBQCV+nmfwqnUqb aU54wrR+fQJiSLlVD74VE/+7OFwwgy4S/nKUSYGkytQAVNZzHUe6Fo83nYNCnpHNhFvn K4HjVLQ/JLQSPh5ppGm0foe8XgbG8haV8QHkWstaP9ky/9CGjh+KgS4z09bU+ZCEzsre srIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=L+oYxbd6; 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 dr11si771224ejc.34.2020.10.23.06.23.24; Fri, 23 Oct 2020 06:23:46 -0700 (PDT) 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; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=L+oYxbd6; 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 S373797AbgJWAa4 (ORCPT + 99 others); Thu, 22 Oct 2020 20:30:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S373792AbgJWAaz (ORCPT ); Thu, 22 Oct 2020 20:30:55 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B96A6C0613CE for ; Thu, 22 Oct 2020 17:30:55 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id l18so2108874pgg.0 for ; Thu, 22 Oct 2020 17:30:55 -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=l3qcvdtan5dRvVPenI5CllkZ6Ty3UdDPZyBIxdORfFE=; b=L+oYxbd6BfZRhIxnb3+SepAKFoG0NtpjVRy8NAR9HrfTHZ88C9L+22i54mFhUZFen3 saw8Gc+xc6SaqhdhGtzN6DyAhlKu4Vr8nx/xAzPRuWdHLCs1S6r9UV9Gg5IJ0fGmOnZz zLBI2jHn2uBLs6Q5HJ9aBTRPgXqaX2bX6yQu8zYG4UtBGQ4e06xNo2OJUZ2Kkpf48ZBI 9mylobKBvOICOkYktb6CgDu8bkW2BEhJa1sPmhPsVoMHBIwhbGpvgbSCx3K3nadWUUjw T/UOEvQoplSgkeCVV39lrPwPg1ahaiDg9Dvtk2VqnesqGbglDjielZtGsAUkL6w3z/rn OaaA== 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=l3qcvdtan5dRvVPenI5CllkZ6Ty3UdDPZyBIxdORfFE=; b=tlQb3vsWxVMmG33v9CBALy5r0NHxsiSw66aQNEX42ydKR4PsaYY35hLLYUD2kh91ZM rgqdSJHEYdK06F1y1yMkq2xVJE+iyKJlm1fALIMCzJC4oDISTAzubUGnlk1qjmvxam60 ogwngMRCGie/K2TiIPf9LbNQIgZ5fzuyjOvzfWT2SonUxbSXm5ZeX7lTxSTrKLEfDupN rdDT0hgSIJnLyS2FDL+nnrdhQ+7574CBs3q1I5kPaO7IJXPnijnVTgtINzNQEMzK+Fs4 73lQ7gRlC2mnZICa37oGGrt1GLabUl8GJDAzwbjdJyjfnRerCL3RviiH76IyBPDa5yy9 JmAA== X-Gm-Message-State: AOAM532x+JM7XFWWON61r4VOX+QtAKKEaS23VbDt8KshqjD9l22wjm4R LGi1hryzMojEUdiAT7D5W6StHspTjMj9mQ== X-Received: by 2002:a17:90a:c28c:: with SMTP id f12mr4594071pjt.146.1603413055146; Thu, 22 Oct 2020 17:30:55 -0700 (PDT) Received: from [192.168.1.134] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id hg15sm3089785pjb.39.2020.10.22.17.30.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Oct 2020 17:30:54 -0700 (PDT) Subject: Re: linux-next: build warning after merge of the block tree To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List References: <20201023104840.7a94077e@canb.auug.org.au> From: Jens Axboe Message-ID: Date: Thu, 22 Oct 2020 18:30:52 -0600 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: <20201023104840.7a94077e@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/22/20 5:48 PM, Stephen Rothwell wrote: > Hi all, > > After merging the block tree, today's linux-next build (KCONFIG_NAME) > produced this warning: > > fs/io_uring.c: In function 'loop_rw_iter': > fs/io_uring.c:3141:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 3141 | iovec.iov_base = (void __user *) req->rw.addr; > | ^ > > Introduced by commit > > a5371db1e38d ("io_uring: make loop_rw_iter() use original user supplied pointers") Thanks, not sure why I didn't use u64_to_user_pointer() in the first place - updated now. -- Jens Axboe