From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 827BC21B191; Sat, 30 May 2026 18:43:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780166589; cv=none; b=OhC7UqwRJNgHNCVvMK2+D21PwjXJ/b2H6+lvAer1NXs283rUFrtI5N3QNtA24Y2F7lr7Vxzpt+Xj9Jw3pz8OdmHS6Hs+JheFSXo/zvLy+Oque72JiFXcUSrYmSocp6d2bDyo+Tan0f+1FDyUlhaBXWvKlTfxx5oI/D2ieYu/w7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780166589; c=relaxed/simple; bh=WoRhqSShPtfgTO4DK1RbVTLt2lvT2MGr8Dn5vC3FcjA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ajiWcpaxWlYhYOGrY4/spegogUAl1vKL5JBGLDq2pCdba1zj870pji/VBeXwm/GLfnBTWMwV7UpdxuhOqo6Oz26acP1zwd1lzEOFjd8XNhKuuIsC9iato+PE6dUTsoTVes2C8WpRNzBLChtRPVos716o6GuXSNd8XSFCWgfnhcE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gslduudb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gslduudb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDCA81F00893; Sat, 30 May 2026 18:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780166588; bh=Jx06TU3E+52iBsVE7xqSSuEEATAktUyQpcyTy6b/NTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gslduudbZgDsVV2MHdAHZXhSOdf3e57LUXGEmB7OQ1WM5BUuHIE4tE5aUnDbS6Zw/ wCz3Dsx509W+OS9IQiA7oil48T1IEFsuWfxaI+X8FZNMeMRx768suppdt5wEVHeS3U 3DQ85MWZK0zsgfmRUblyAg4gNLfJ5ZM3UDhoYaXs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Ren=C3=A9=20Rebe?= , Dominik Brodowski , Sasha Levin Subject: [PATCH 5.10 411/589] PCMCIA: Fix garbled log messages for KERN_CONT Date: Sat, 30 May 2026 18:04:52 +0200 Message-ID: <20260530160235.558574269@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260530160224.570625122@linuxfoundation.org> References: <20260530160224.570625122@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: René Rebe [ Upstream commit bfeaa6814bd3f9a1f6d525b3b35a03b9a0368961 ] For years the PCMCIA info messages are messed up by superfluous newlines. While f2e6cf76751d ("pcmcia: Convert dev_printk to dev_") converted the code to pr_cont(), dev_info enforces a \n via vprintk_store setting LOG_NEWLINE, breaking subsequent pr_cont. Fix by logging the device name manually to allow pr_cont to work for more readable and not \n distorted logs. Fixes: f2e6cf76751d ("pcmcia: Convert dev_printk to dev_") Signed-off-by: René Rebe Signed-off-by: Dominik Brodowski Signed-off-by: Sasha Levin --- drivers/pcmcia/rsrc_nonstatic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c index ab487edec2e5b..9b3ff50cfdc6a 100644 --- a/drivers/pcmcia/rsrc_nonstatic.c +++ b/drivers/pcmcia/rsrc_nonstatic.c @@ -188,7 +188,7 @@ static void do_io_probe(struct pcmcia_socket *s, unsigned int base, int any; u_char *b, hole, most; - dev_info(&s->dev, "cs: IO port probe %#x-%#x:", base, base+num-1); + pr_info("%s: cs: IO port probe %#x-%#x:", dev_name(&s->dev), base, base+num-1); /* First, what does a floating port look like? */ b = kzalloc(256, GFP_KERNEL); @@ -410,8 +410,8 @@ static int do_mem_probe(struct pcmcia_socket *s, u_long base, u_long num, struct socket_data *s_data = s->resource_data; u_long i, j, bad, fail, step; - dev_info(&s->dev, "cs: memory probe 0x%06lx-0x%06lx:", - base, base+num-1); + pr_info("%s: cs: memory probe 0x%06lx-0x%06lx:", + dev_name(&s->dev), base, base+num-1); bad = fail = 0; step = (num < 0x20000) ? 0x2000 : ((num>>4) & ~0x1fff); /* don't allow too large steps */ -- 2.53.0