Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6964776ybl; Wed, 15 Jan 2020 13:09:04 -0800 (PST) X-Google-Smtp-Source: APXvYqwPICMVQ7QxyhB5uAFpsRmGwTN8PvpLHv1JVc5FnrI9yIgY+eq1X/dniRc1jti8TLOUZfde X-Received: by 2002:aca:b808:: with SMTP id i8mr1487117oif.66.1579122544323; Wed, 15 Jan 2020 13:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579122544; cv=none; d=google.com; s=arc-20160816; b=G/Sln88v//joLNoo+SdOK6YEP9X0sFuAtyFqR1UPYazLsVcPruKaqZUMPnIlfvmK4k 6FYQB+D0yairGJHN+CHz8lYSOvxLhnZrB0ROlPS2mLeCbP0mJqIYZs9hrSPppxVNlwQE DcJU2mM85j+w+3fXZljhCCcRDrl3zaaUGvDSz8p3iMWafWbQ5VXsEEkVcBThtI9f4Co1 8wBwP/Qm1B3AZlbSdiazu0PUann336CosMGxaQMGwTJmPV+J9xzQomtTVdSpx5i0Phju ygqFgyGaOj+/o5qG9umEbgxObkKlV1jKL71N7zZN6QgIUE+OE8VmHEupreAwK7soeQxY NYmg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=OTlAphxmUMNhD12WLq64AeJjPT5WWnIQKhykC/nsCm4=; b=N6+YyRElPA4e98xZXqDGOeTFIhGrb6XAm+pD+flHk3RYnUy7zHmbt1iattW7MKqBAQ TSdPSMErc6W8u5hF56bCHTlaVqp4yqyv7ZUAO80fa2+4JcuJgIX5r+LwgY9yClJ21DmD eVf5hXpbmh0J7IhG+hBJ5l7RYVtmHQHkly2qrXsUCXiYgLwwBHdCL6GVouu+d7rQOzg6 SF8LnW90c5igjNJsw/dp1jmGYLV+qnW4FJmGoRQ2mF1q819EMzOpUJymcdWTSxjf1cuA Bfe9FEg/pRnTIpoRwbqV7yL3OpUbRI8LR6OFoyRFEHgrXIxO7xiKeeY3cvSoZZ3Al+ph a6EA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11si10959806otq.112.2020.01.15.13.08.51; Wed, 15 Jan 2020 13:09:04 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729638AbgAOT5K convert rfc822-to-8bit (ORCPT + 99 others); Wed, 15 Jan 2020 14:57:10 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:46984 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbgAOT5I (ORCPT ); Wed, 15 Jan 2020 14:57:08 -0500 Received: by mail-ed1-f68.google.com with SMTP id m8so16685520edi.13; Wed, 15 Jan 2020 11:57:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=jDNwCuolitAgDOrIDNPnw09f7iD4pjQDMUepa+LBBOA=; b=i3VUDjolXRmMH0mJ+mEpnT5PuZoxPwTz8Q9+Hkp4mfD29H7q/sviiKs8JF1C7RREnb /bLWD20X0IOEVFrc2vbV3sz7G0aaa65HQmTgs985KeNUpB3g0C1WIK+6nQahSdrxx7YP VtOosfgHcpdER1mT+tRIEivbRgribxw/MikXwTrzL3PH7AUV95iHZfD/rJkdpCWn0B7j rqJrk/rJWXJ525PXgShsXWuUQeqUjtrx+yjlGOq911cWVtVPPI4gb5MAmzHiAR+qG5xR nc9aiPRsMed76QHNrKkKZ5pBl57YZTjgr1q/AgmrBPsgW1HGa8Z7AUSEoNyusOKNEUf6 J5/w== X-Gm-Message-State: APjAAAXm/w53dpnozPV0sxgGK4lOaFg1rziUU77N1IqbFZi3lm6/mvnK iCGCzLqsCA5B+nwhC/Bcb5M= X-Received: by 2002:a17:906:b212:: with SMTP id p18mr30068484ejz.208.1579118227369; Wed, 15 Jan 2020 11:57:07 -0800 (PST) Received: from kozik-lap ([194.230.155.229]) by smtp.googlemail.com with ESMTPSA id u29sm755644edb.22.2020.01.15.11.57.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Jan 2020 11:57:06 -0800 (PST) Date: Wed, 15 Jan 2020 20:57:04 +0100 From: Krzysztof Kozlowski To: Wolfram Sang Cc: Vladimir Zapolskiy , Sylvain Lemieux , Linus Walleij , Arnd Bergmann , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jean Delvare , Jarkko Nikula Subject: Re: [PATCH v2 3/4] i2c: highlander: Use proper printk format for iomem pointer Message-ID: <20200115195704.GB8661@kozik-lap> References: <1578992765-1418-1-git-send-email-krzk@kernel.org> <1578992765-1418-3-git-send-email-krzk@kernel.org> <20200115174337.GH1239@ninjato> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <20200115174337.GH1239@ninjato> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 15, 2020 at 06:43:37PM +0100, Wolfram Sang wrote: > On Tue, Jan 14, 2020 at 10:06:04AM +0100, Krzysztof Kozlowski wrote: > > iomem pointers should be printed with pointer format to hide the > > actual value and fix warnings when compiling on 64-bit platform (e.g. with > > COMPILE_TEST): > > > > drivers/i2c/busses/i2c-highlander.c: In function ‘highlander_i2c_smbus_xfer’: > > drivers/i2c/busses/i2c-highlander.c:325:22: warning: > > format ‘%d’ expects argument of type ‘int’, > > but argument 3 has type ‘size_t {aka long unsigned int}’ [-Wformat=] > > > > Signed-off-by: Krzysztof Kozlowski > > Wrong commit message. buf_len is size_t and not an iomem pointer. I'll fix it up. Best regards, Krzysztof