From patchwork Thu Dec 7 08:38:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13482944 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F254C10DC3 for ; Thu, 7 Dec 2023 08:39:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=u0QHUSUQd1hy9bPrX+WYePhNGZRmKiShrb0kZsGgQ2A=; b=xVUbMwZuXm97yk DCTdZDwg54CoWIp5QLOm3tQCt5bUd5vLJw/h5Tqcr3KdXRzZ8UpBf+SxNwoTWxMpOV6JySM4k9zOU y5xj99diFAx750HvhQCL3sSLcclOlZ8A3NynQ1AThTb1kZVlPOEW3FH3IZmqgUrF/hFYtg1Q0Waqw Yt51SYJl08PF5sDUAW0Iel43d2Xtzp7v3YqWzdDjclEDmX5gxzV4auvTJEQp5A8mBTKkcJMxk8S09 ECSslGVEmOnVyTzoTJGPCOmvJyzAUCq7jMUELtZyBN5XvvOSV/UUFZa8BkZuLqmTZRd+qI/v1IsIW ywtGpP1NADU/h7Ew1mwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rB9uF-00CFTE-0B; Thu, 07 Dec 2023 08:38:51 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rB9uC-00CFQe-01; Thu, 07 Dec 2023 08:38:50 +0000 Received: from umang.jain (unknown [103.251.226.79]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BE3CE674; Thu, 7 Dec 2023 09:38:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701938283; bh=75xCJqmJUVCtt3VKSEVcNMF8m0/zCSzzSSX8SGDenjU=; h=From:To:Cc:Subject:Date:From; b=EnfGyWg3WcOg3ilmYkUWkC+IRBW1kAjobv7ZLg7ckmix9A6h85uPnygrWKxrQG/s7 AcFX5bjS/jF9CzjuITpzZVpqhqYfeOJUzTUB1wksCLwE6WOs4joS9WpKrML5289wHm mJtmW+lLNY5o2z0qZ1aX3ZjaGZoemWIQluLc0uao= From: Umang Jain To: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Stefan Wahren , Greg Kroah-Hartman , Dan Carpenter , Kieran Bingham , "Ricardo B . Marliere" , Umang Jain Subject: [PATCH v3 0/2] staging: vc04_services: Use %p to log pointer Date: Thu, 7 Dec 2023 14:08:35 +0530 Message-ID: <20231207083837.153843-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_003848_200550_E83836BE X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org %lx is used to print the unmodified pointer address for debugging. %p will print the hashed pointer address to avoid leaking information about kernel memory layout to userspace. But when `no_hash_pointers` is passed as kernel parameter, unmodified pointer address will be printed. Hence, drop %lx in favour of %p. For debugging purposes, one can easily depend on `no_hash_pointers` kernel parameter. Changes in v3: - reword commit subject line. Changes in v2: - Built/Rebased on top of: [PATCH v2 0/5] staging: vc04_services: Drop custom logging Umang Jain (2): staging: vc04_services: vchiq_arm: Use %p to log pointer address staging: vc04_services: vchiq_dev: Use %p to log pointer address .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 7 +++---- .../staging/vc04_services/interface/vchiq_arm/vchiq_dev.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) base-commit: 55e23aa95b10731c08ab207a42d868aaff3bd2a5