From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B02153B2FC8 for ; Thu, 14 May 2026 13:06:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778763994; cv=none; b=PO9X+Sh9PM6q/oGqABiwrLR9il8b/auRoYzoufN/+BYXBIK4sdMR3T1TZTLuSid64WNaCGylwuLlrjrWY3ObgHELfrD63En6OJhEItUQRXirmwXyNEU4M/seT6OLP/tb3L7anphCtG5OHx3QpR+TnBGw/jw40XtYaNtaUcNTi2c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778763994; c=relaxed/simple; bh=G1unoDffQBqsUwWPU+/2JXxFUzTdoDA1QQzuRSiXxh8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MHqk/LZpV+In/q3vig1t0Z8TNJTYQNfqSZASgVRYKk2Ay2dgVY/BGACBUL6xRHDxGrncEwAZzWKoT/c2/y+N7O6yRQhB5GC4wP5AxQDrHSuVZPf58xIbolaCU3IhuyDp5KaTOE0oTE7Zpd/vmeavOHrp83HavxrCulC8ISi8tMo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=OCN3UzJM; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="OCN3UzJM" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-48896199cbaso69400735e9.1 for ; Thu, 14 May 2026 06:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1778763991; x=1779368791; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=yVDwTp3pDCx5cMmIWml+b3pEEO/5Dl88UW0mjiRtSIU=; b=OCN3UzJM8W4VW0DPRxRfFWcYeVXpDGkNhIdCrgDEYRTvlfS6UNKD3BvOsc4rgG/gUZ kokpHUVE1YH2wmC8m75+TL3mrT2akv+l7qvCmqIpF+FdvZyaiWLwnnbbAwE5f/WGQtkr +IXtwy6asudIDDh1tyzUPTO3MybcaVH4UDGM4lT17mTbgVVcbvHGQWeyJqPNNGny0xak iOa8f9FM+yPo7kK2k49ftOFZUvyAEjjopfy5mYAvySQ3a4TB4UyZ2shR0mpIJvLRPLcq UTJ1WFEndfBO0YytT8rNYBC7+Ll0K2/0+JDDkvhRG1jDPnvlJ+d66L8SHtWjojwgUcCh +72g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778763991; x=1779368791; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yVDwTp3pDCx5cMmIWml+b3pEEO/5Dl88UW0mjiRtSIU=; b=J2LUO7lwP1+2ugxdz7rqFLOnrmDJvMofamINcWYhzY14MhcKxjJjSsGmnpE0V6mFAa cCOMKwNI8ATdNAqbIgvvT2An5Mi5DIqMtQqA71NJozFzwcYUGxjxQzKTByIH1QZurwTw ru2rhSBnDeTfCbw52NuyDjuWiqD67vawhdVw28QZhwFC1gklqRo4hs1mUH2uGGp064b9 Njqcq0fjEO+X+Huh1zkYTEUkT/k1NP6WBRzdjhGuHyLMOkTIKzL65GE0ijn6cVhntMCk WqTQ4KZUhVnwtBCwTptHnO5Z3yQnfFTuZl/kHcE6HS1SXwNFi8omJHZqZnbIEPVy17UB /Azw== X-Forwarded-Encrypted: i=1; AFNElJ8i2dxm8P4nmrSDcC/F4Asf5vgDN59p6IqJrBY7LFFpx2q6GVpRYN8n8Dn+z5ZIiS3HhbyO7zGHi+i9JQE=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+pIu7dYcGFHtzsj+7i6wkRNQuGecuOCPICmdRpV1wn/v9bFkN ywtA2j2f8uFACseshwWK/vwUB8khpRzBDMtdidA7WyuZp4ZOr0il5jTfG2Dmc17MIb4= X-Gm-Gg: Acq92OEtvzdLwJ1ueFB2bJWd+s8sKhbMekdD2zXpZtaMw55E9tuR0oSaM2uiQivTsnF uiDHRgGKt1qdX9AQXlWoOnocCtKbHwdIr1QvctE8HaFQe4FyoKW3UlsoSgg63KWeRekIZAnOIID Dp4+AWV1LqH7+RbUFY3yupaM7DVVVWHmsBY/16mpIppxg8xgk34a7O6hnBh6JkROk+swiCmVCk+ 5j2r83/fODkiM1vsXMKsRSdbd76ofh26WU/fGiyJ0rji0sHvyaI4Mh4azk00qOsYHN56ESuhIJB xHtIEcRqQYHHimwm2WCkfDhaGCfiM7elYAtnc7QeojdN0lmljH1vDltcGkAgwxl3JOL2382PcZX frxZBlxKMbdnrcnFTxsS+uCQ9taeyIwAvNZvEnyIY1G2Aw/uBX4/CTXFfIVrspzbeK+UQK2hL7e 6ep+XA6Co3Ygj5yEE+JjB4j9s8sV1d6DMXf1k/ X-Received: by 2002:a05:600c:8b12:b0:48e:978f:c45a with SMTP id 5b1f17b1804b1-48fc9a3ba11mr129827935e9.19.1778763990989; Thu, 14 May 2026 06:06:30 -0700 (PDT) Received: from pathway.suse.cz ([176.114.240.130]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fd7675029sm25766075e9.5.2026.05.14.06.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2026 06:06:30 -0700 (PDT) Date: Thu, 14 May 2026 15:06:28 +0200 From: Petr Mladek To: Andy Shevchenko Cc: Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Andrew Morton , Steven Rostedt , Rasmus Villemoes , Sergey Senozhatsky , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] vsprintf: Add test for restricted kernel pointers Message-ID: References: <20260504-restricted-pointers-kunit-test-v2-0-19e8b1c0fbeb@linutronix.de> <20260504-restricted-pointers-kunit-test-v2-2-19e8b1c0fbeb@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon 2026-05-04 13:58:25, Andy Shevchenko wrote: > On Mon, May 04, 2026 at 12:43:41PM +0200, Thomas Weißschuh wrote: > > Fill out the tests for restricted kernel pointers, using the %pK format. > > ... > > > +#if IS_MODULE(CONFIG_PRINTF_KUNIT_TEST) > > +EXPORT_SYMBOL_FOR_MODULES(kptr_restrict, "printf_kunit"); > > +#endif > > Same Q here. Same here. With the ifdeffs removed: Reviewed-by: Petr Mladek Tested-by: Petr Mladek Best Regards, Petr PS: No need to send v3. I could remove the ifdeffs when committing the patchset. I am going to commit it tomorrow unless anyone complains. I am sorry for the late review and short notice before committing. I had vacation last 5 days. And I am traveling next week.