From patchwork Tue Jan 9 21:54:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mirsad Todorovac X-Patchwork-Id: 18885 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp429824dyi; Tue, 9 Jan 2024 13:54:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDE8Z5WRidYm1kUOhQQgNig7G733QaoSPrRRfsO67VLCXEFjs/PmpCh+xWtTmp0Tx4c7v8 X-Received: by 2002:a25:dc50:0:b0:dbe:3209:a705 with SMTP id y77-20020a25dc50000000b00dbe3209a705mr39134ybe.75.1704837291366; Tue, 09 Jan 2024 13:54:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704837291; cv=none; d=google.com; s=arc-20160816; b=trhb/gqcum7hUYI3OHoRXM8SX7B1Y0GXFfdr87qUpE7bFV9dOD5ExUdyF2ZblpfSHz Pt5iLUS1uYC4+4Kbf4M9EOvMM9zgStYdbuPos26Xx2q1XCUZMYM/zHTXLkxYgRe+QFSF C+tsx5cfRkcHbzEhK6cGAvkw+yN+3fD1X+knF1tNYt5TAq+OG84ZCrdZRBLbQxb/+iE1 3iOE3AJLfNMPpf2Qj3xgaeXLu6BFeAj5hJNgluQ8AmhvyzRMarxROvl6eSrLwucF1zku UaYo9BYCsL+Jgo48tax2E7AC7xRFfiXveYS6XdbxHcZH0AHqSsW3pNFNfwtn2GMwaBNi 1r1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature; bh=vO0MmubmKKcaqxDn84YhaG5i2ELC/EAYpbrmMfu7NLI=; fh=4YEhB/vCkRO5CZ2T/3vFfbVuX3WYDtSpBIAOWmp/GdQ=; b=kH8D8Az0pBgpvC8FE1rRxeizmMD0MY75v/RS5YDXLO/d9TSNSOKohv51ZgzR4RGLyu +SQUfYRiQgW/XMSWN60kebGsHqWW1EFNn2RTNRCFwoT4ZZ0tUHae3XRsTXH6XdqvK056 W5RpOPN9s2Lhf+SdUVPQ51YpWScbpMWJ9QXjXCMkj71/Rfw2usGCzQVkBYLVPeMCq4+g bKtrjfjnJ1BBOXbOg8qOxrKXpF+RwX+RppIVu+vZt6dc1/Mn+/0iymOkm/lqLECtl5dL 89RIPSTFNQcstOMqtIGTOeBMV8nCIiHNdlgLwcOSqmyqzsz6xQupAEfw+dtdH3Jg4gou C6xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b="tcuMtN/P"; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b=INdqGZ5b; spf=pass (google.com: domain of linux-kernel+bounces-21451-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21451-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z5-20020a05622a028500b004298ea67758si3024432qtw.25.2024.01.09.13.54.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 13:54:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21451-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b="tcuMtN/P"; dkim=pass header.i=@alu.unizg.hr header.s=mail header.b=INdqGZ5b; spf=pass (google.com: domain of linux-kernel+bounces-21451-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21451-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2BA731C2415F for ; Tue, 9 Jan 2024 21:54:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 081BB3E461; Tue, 9 Jan 2024 21:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alu.unizg.hr header.i=@alu.unizg.hr header.b="tcuMtN/P"; dkim=pass (2048-bit key) header.d=alu.unizg.hr header.i=@alu.unizg.hr header.b="INdqGZ5b" Received: from domac.alu.hr (domac.alu.unizg.hr [161.53.235.3]) (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 7C2523DB98; Tue, 9 Jan 2024 21:54:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alu.unizg.hr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alu.unizg.hr Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id 0F31260177; Tue, 9 Jan 2024 22:54:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1704837269; bh=dRxFw5p+aq6ymY6wMk/W0bLOKcB81JXGCstzbRw+IUA=; h=From:To:Cc:Subject:Date:From; b=tcuMtN/PcH/XqAqDun2ldK+Yl8EEeZXBW0srFj9O+NKybqeEngKHW6R0rI1mK94jE fzHWV0P5cuqpRXqLQWDeoTDMisFJgXjdPwf74mE5NUokC6tT7Xs8EAZ9s8DMH9M0uC a+K4A/SP+GWp62+qO8NtaTSUOcPnvohkkxOodQhcewnHbT73SWwWLGnHygQWikNTR6 cLbJAs4DmRmMBr62W/3QqIFQj1Tqt70FKh+OCV186NYok4DW7PkZDOVysEfqXlwIxu /GqJ7ypK5X+3bfHPjOU8cTLwlm5ChYQKCnPZ/xRhhCF+lgc/snUSe5Wg2DpcCJHsX5 hJ2D1oiKByQPg== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PodAykXuILWA; Tue, 9 Jan 2024 22:54:27 +0100 (CET) Received: from defiant.. (unknown [95.168.105.29]) by domac.alu.hr (Postfix) with ESMTPSA id 8131960171; Tue, 9 Jan 2024 22:54:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1704837267; bh=dRxFw5p+aq6ymY6wMk/W0bLOKcB81JXGCstzbRw+IUA=; h=From:To:Cc:Subject:Date:From; b=INdqGZ5b0eWMwJia7/6cnjs4dx5XCJwP6X118wJeJbV/895EK/ApROZmwNhJv8dRI PC7fkfZQIa88m4uZ+gYn5j+zmfQRqZ+yKV6YtAJSPXUbk2u3PnPD1VfgQAXG72q+gs 0XNR4GSf/t5Lsewezb2yXO1UNJ1wifX81DExW8WZlbjnb+hvly9kZQRtzKxfjEADOQ ua+4RPbDwDU9xZ2tZ6cO5qGbAWScao8f7Wkteq5mEdEP7Z8q6Qf2ytR7djIzHCDKj8 NB18YA9WG2XMJ1fEJNSQnYl8JTEKaj9PexCTh9mtFKiG+AHASdLw+uddG8sGDkWCjc Viy4CmYpqh6Yw== From: Mirsad Todorovac To: Mirsad Todorovac , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shuah Khan Subject: [PATCH v1 0/2] selftest: breakpoints: minor format string fixes Date: Tue, 9 Jan 2024 22:54:04 +0100 Message-Id: <20240109215406.18218-1-mirsad.todorovac@alu.unizg.hr> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787651467281806761 X-GMAIL-MSGID: 1787651467281806761 Minor consistency fixes. They clear a couple of compiler format string warnings. [1/2] is the fix of an obvious typo in the format specifier [2/2] is securing the print function against spurious format specifiers in passed paramater string Mirsad Todorovac (2): selftest: breakpoints: fix a minor typo in the format string selftest: breakpoints: clear the format string warning and secure the output tools/testing/selftests/breakpoints/breakpoint_test.c | 4 ++-- tools/testing/selftests/breakpoints/step_after_suspend_test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)