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 CEBAD3112C1; Sat, 30 May 2026 18:07:16 +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=1780164437; cv=none; b=d59amE2p8s0JT3d7o3BHpnZQw+LS5cE5296Zp63W6MFX2AM6RdMMTvdI+6N9m9NMsR4IXtStBk+MCR0UJHzokP6KbrSnKQ6rLM9NSMMeQorqmKEQqutrctwPhi9eb4000GmsOs8343R/nxgY0KY/LCLWDVIAqEDCzGSLJs71Pus= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780164437; c=relaxed/simple; bh=cD1JWPSboPp1dX69evqbbti5On1M2EwHJD+BpFxUbmk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jCxLT2oP91bFMQydlN6HtR14FX2wtq07F4f7JRx9IOmVIn6ih7+GUICmYyvgqfP5kFraM36pVNJBhnTUki5bLd8gCmT/vx14azZNEx34ryNQbS0Nte7kmjuZ/iovRCB0WdjfHe9RyfCziuwg9/10SB9QsP84P1inKYLuPcEfnd4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WkYJJ2Qw; 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="WkYJJ2Qw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EF7D1F00893; Sat, 30 May 2026 18:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780164436; bh=AsL667w9UkdS9LGS3uni5rfnhGmaZcGO6IH9L8z2hi8=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WkYJJ2QwNWFjNOjFYrpILUcqLQFGM3Z5CObxzLOvk1lz11FE06bzrP86mTsB8p6+l JLnRWUl8gmHXe7TK/DRLtA0Z7J+YoVP/5wjvMY8yJZUXGcVbRlgVqTg2cEN8+M3fit ObHTBfsW93p/3y6K26jgEg3B9Pz07FeZ1FVMiZOc= 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.15 553/776] PCMCIA: Fix garbled log messages for KERN_CONT Date: Sat, 30 May 2026 18:04:27 +0200 Message-ID: <20260530160254.443380858@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260530160240.228940103@linuxfoundation.org> References: <20260530160240.228940103@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.15-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 58782f21a442a..50e8e8522708c 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