Received: by 2002:ac0:ada8:0:0:0:0:0 with SMTP id o37-v6csp5884imb; Fri, 6 Jul 2018 12:41:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeGZKJgNtdvl+EN91lesraGZ0nd9sxodYeN8M+fgAzeNPW3/BrIqij+eLdKByhBhamAzrR8 X-Received: by 2002:a63:4a07:: with SMTP id x7-v6mr10620562pga.34.1530906087324; Fri, 06 Jul 2018 12:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530906087; cv=none; d=google.com; s=arc-20160816; b=ti0xB4zLcN/F2Gsfqu7v5OZfzxtXqsiM9HLrS6o5wLmZKyICxQZMlkUgIw2PaUDY4F 5DoUFPVWg16BXRiNVkGOr6qYld7foTtAQJ0bkiAOJCyeUY4vCHxdjY7oXECJ46FTd4cI 3svURLBWd+14615Dl9xQF39ZdA+PcLXwa3KZeO2tHOo6mV3pPs0TZWfJ8dgQZw5xQIvj +sPtsuSUrkQ4Q+IvUbITiT+DjlpkFzHUhGGZGS4Wqqgn3SwCr2K5l7Rz5wUY3PKiKq6L UCd46OQCGZw/lLwEEMtMxyejPUNVeABWgmvhk7VSkVFbg4ZmzpzjRP4xmuZpYvKWPguy uWPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:arc-authentication-results; bh=HOBjE9ay8eu7E1bZDA+vCsVIbntLghqIwzo/G/XXhLo=; b=G/Aemox23lwk57QAM82a6Tad1+pL3i2wIn2XTHkDnl6YgFNXQSOOoJDExMnsR32yqp QmOeIBa/lUJVNqvpFnAlOfPQlJLTA0bt6SPbDQgMWTb3b5ZtXWV70uqtGChhFfcmaewO S4sNPYBTAc3PwQWo0r1XQez9ujRKsyH5RXnNAZfAAqcZiB+LPxl0XfqbiiIVOY6NZlaO GlFDWiOnlhYMm5QHLIZGSWI3yPA0GbMC0xSO4YQQSH1DsmP9gNWBkfCkq5FXeTuvpobY HS2q8hCiXMZs++P1VmDpRHUdzzJrNw1K0UXRO4kiE2vaTRYiVZD/VdPPrlZZ+GaJPOBX 5yPw== 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 e62-v6si9178939pfe.327.2018.07.06.12.41.13; Fri, 06 Jul 2018 12:41:27 -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 S934874AbeGFTjM (ORCPT + 99 others); Fri, 6 Jul 2018 15:39:12 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:39837 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934548AbeGFTix (ORCPT ); Fri, 6 Jul 2018 15:38:53 -0400 Received: by mail-ua0-f194.google.com with SMTP id n4-v6so8208701uad.6; Fri, 06 Jul 2018 12:38:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HOBjE9ay8eu7E1bZDA+vCsVIbntLghqIwzo/G/XXhLo=; b=hMhZFboc/js89TqhL16J9h7hwHXnT5ThTpc7nVkAAyeraOOgeFiru7ygqILM4jYKwn eX85/G3JsikjKUcCbkkHJoPeHtGyM0L6jjqeBq5H576rlPp6ZKvv6lOrAhEqm2VxBpd+ STD7KnJcf4+mgo99LGS80vOGp1Q6dzxWUpKqlJKTVk8qJMT6Iuzq/C/LF1ccLRJAQW23 BvKwc7Wf5S7vrGyzs7thnWrewFNOvOD768eYZBeH6z53TZNG5xKYDrb9k82H99QZnmtf uW7mUGmRs+QM1DdClZ1rH8mHWLhfTQycFJ7zw4cZJn/o6gAjbASprx6qBfYIIcD/qUUU 6+aw== X-Gm-Message-State: APt69E1thfscxJfQ4WOnWhPJ6bGYgEI11llrwq0Ejh4xBHaGxXGm+Oi9 LMJ2+VLpvivZViBdiUWocyb0BNlz1Tnfo+Se2Ys= X-Received: by 2002:ab0:4025:: with SMTP id h34-v6mr4012361uad.12.1530905932492; Fri, 06 Jul 2018 12:38:52 -0700 (PDT) MIME-Version: 1.0 References: <20180706130220.21957-1-benjamin.gaignard@st.com> In-Reply-To: <20180706130220.21957-1-benjamin.gaignard@st.com> From: Geert Uytterhoeven Date: Fri, 6 Jul 2018 21:38:40 +0200 Message-ID: Subject: Re: [PATCH] dma: stm32: replace "%p" with "%pK" To: Benjamin Gaignard Cc: vkoul@kernel.org, Dan Williams , Maxime Coquelin , Alexandre Torgue , dmaengine@vger.kernel.org, Linux Kernel Mailing List , Linux ARM , Benjamin Gaignard Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Benjamin, On Fri, Jul 6, 2018 at 3:03 PM Benjamin Gaignard wrote: > The format specifier "%p" can leak kernel addresses. > Use "%pK" instead. Still? Isn't the value randomized these days? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds