Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3797837imc; Thu, 14 Mar 2019 05:39:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZ/t/eMe2FeikdfYHLDL1kVYvYCJKm9c5hnTQyJCBma832hbNDLc6XlSR/4xYk9XFhloQ8 X-Received: by 2002:a17:902:d894:: with SMTP id b20mr35149264plz.318.1552567161672; Thu, 14 Mar 2019 05:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552567161; cv=none; d=google.com; s=arc-20160816; b=UR26QPSE0i+b7iibUGj4wWkwE9THI0xkb1yyAzA+ZHTlGQInY+QuljZySxTM/FoSSx +f7XT8lb9EX6p1U/X/QtoJrOs2TMlbdoN205kvsBI0+mX2klE+tSr5ZjGfbViQ0mbplT oG+eUIXRFw50+s8v/PScZlTekKFZpposZO/cfg/5gVGQu9G/ah0YYPj6nRNYgJJ0hJUX 6yov+hf+PgZ0MWKg4YtquiBmBKN9pVnnYPisE3ZoeoaWT4pP5R+2yrDnLEPMyd4oI+N6 zgXcTsVlfg8Fm69vssygBIO8CblHGplxiW28W147fc42st7XnEaGTKtWMez+Xy5E4WG1 j9Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=eWJvGfcCVufCf/9WySXGKHd+tRa5+j7Iw6zijrAM8MA=; b=hohT6+Im0mq08FNQh7ZR7/x0C2s1b+AsRlJCvWOsvpq1hq18l2xZrn6BfgtH71FL9+ w1tIfH6n1KAPomCtIUmxtMGuVKxUy+gn0k2VPZOJ/js8dWilO2wlqn4hRZB6LcYRyAp6 XNLN35qDeribsz8dMiQSZixVTz1rVWXcalAtPPiLcAmTsKIjDLSbmg0RyAURdB0rD2Im Nh/aIJeI3sAbeyoIb+bA44XWs0x3efAB1W8dU6K8c/uEHpIuBIsZEanD2L6NrAyRcmVM G8JLvXD0upHw3dW3SPIkXptkXScbE1z+IwpSzrzVSOST+r0R0+rTYdHAdDiLHrjqrhNB GzfQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5si13861955plx.421.2019.03.14.05.39.05; Thu, 14 Mar 2019 05:39:21 -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; 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 S1727303AbfCNMiO (ORCPT + 99 others); Thu, 14 Mar 2019 08:38:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:48444 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726786AbfCNMiO (ORCPT ); Thu, 14 Mar 2019 08:38:14 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C5E28AEFE; Thu, 14 Mar 2019 12:38:12 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id C014F1E3FE8; Thu, 14 Mar 2019 13:38:11 +0100 (CET) Date: Thu, 14 Mar 2019 13:38:11 +0100 From: Jan Kara To: Amir Goldstein Cc: Jan Kara , kbuild-all@01.org, linux-kernel , linux-mips@vger.kernel.org, Ralf Baechle , Paul Burton , James Hogan Subject: Re: fs/notify/fanotify/fanotify.c:198:2: note: in expansion of macro 'pr_warn_ratelimited' Message-ID: <20190314123811.GH16658@quack2.suse.cz> References: <201903140234.4FpTWdW3%lkp@intel.com> <20190314083758.GA16658@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 14-03-19 14:01:18, Amir Goldstein wrote: > On Thu, Mar 14, 2019 at 10:37 AM Jan Kara wrote: > > > > AFAICS this is the known problem with weird mips definitions of > > __kernel_fsid_t which uses long whereas all other architectures use int, > > right? Seeing that mips can actually have 8-byte longs, I guess this > > bogosity is just wired in the kernel API and we cannot easily fix it in > > mips (mips guys, correct me if I'm wrong). So what if we just > > unconditionally typed printed values to unsigned int to silence the > > warning? > > I don't understand why. To me that sounds like papering over a bug. > > See this reply from mips developer Paul Burton: > https://marc.info/?l=linux-fsdevel&m=154783680019904&w=2 > mips developers have not replied to the question why __kernel_fsid_t > should use long. Ah, right. I've missed that mips defines __kernel_fsid_t only if sizeof(long) == 4. OK, than fixing MIPS headers is definitely what we ought to do. Mips guys, any reason why the patch from Ralf didn't get merged yet? Honza -- Jan Kara SUSE Labs, CR