Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp365632pxb; Fri, 16 Apr 2021 07:36:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIDWbaLcTHdk+QjAvtpvg+p7evcBwcIYTPmFPoGXVxdNkUz7iwZKmAq/CG+pn68n3H/S1h X-Received: by 2002:a63:1b5c:: with SMTP id b28mr8303154pgm.444.1618583763544; Fri, 16 Apr 2021 07:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583763; cv=none; d=google.com; s=arc-20160816; b=PVnnc1B8ieC69MV27lXgddHMcHwfCwjL1QHhwoX14jQSJr/aVLeLi8osqSK9WUj6Dq PuzRHPpFc7zgW1smDBnM69bxX5xRdHjQ/9BD+SRO0cykfHuGFs7EzaFQYGscznOELBMI t+Vk8Q2s2HPCqynNuyA7zH2rPSd8GqAe8MsI7NAKeQhzw1tNV8Nf1viVK/FZvYG9tD1j DJ/v9ALMPggB1lPkvWSpWfmOzJVJXg1f/x5ekDCOKbjakNVoVOj7jlOY9/2fxqGB7jIs gG56YUcCBUpW+sya6NMOn2mNr6VFp1LhwIWXqjCaT7nXgrp0zSLBzREyIWVhPqibDs/p v0Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=5VykCPf3bJEowJ/Dc8jFVaqWVFw/CXv5w4P0Jyuxt70=; b=J2DhV2M8Jmg452qVvVnavii92sV41c1xBFnUauzv8yj1p7mHhVqMoh2av5O1ThnZug Bdjo3fiF9TX9hpGsdIZIKmHqbmqCuBm+phh3tEVJ3p97sxQIYBgxOwr5G6RsDt3SqJaW N51/wp4WxZfUuNFowvW15CQQS/PNo12kv018V0Is7ws1c+IjbZcWjhv/YsjYDZQ7E1rl 6bbbwirT+aZyOFxJpQ6E0zRDgFtYTr+ws60SX5zFqBkxh8kFIw8lE85hXpuoPU+DCu3s 9mqXhFLoSBETnP9zajH8xSON57TJMdMs30UnEeX7bjfljJjtio4U70mAf3+tEYtjH/b5 PA5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o9si2587052pfh.82.2021.04.16.07.35.51; Fri, 16 Apr 2021 07:36:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241863AbhDPO3V (ORCPT + 99 others); Fri, 16 Apr 2021 10:29:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241079AbhDPO3P (ORCPT ); Fri, 16 Apr 2021 10:29:15 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 74F53C061574; Fri, 16 Apr 2021 07:28:50 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id E038592009C; Fri, 16 Apr 2021 16:28:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id D923292009B; Fri, 16 Apr 2021 16:28:47 +0200 (CEST) Date: Fri, 16 Apr 2021 16:28:47 +0200 (CEST) From: "Maciej W. Rozycki" To: Joe Perches cc: Khalid Aziz , "James E.J. Bottomley" , "Martin K. Petersen" , Christoph Hellwig , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/5] scsi: BusLogic: Fix missing `pr_cont' use In-Reply-To: <86c10671ff86f96004a6d6c3c08aed3e27d58d0a.camel@perches.com> Message-ID: References: <787aae5540612555a8bf92de2083c8fa74e52ce9.camel@perches.com> <86c10671ff86f96004a6d6c3c08aed3e27d58d0a.camel@perches.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 16 Apr 2021, Joe Perches wrote: > > I'm not sure if that complex message > > routing via `blogic_msg' is worth having even, rather than calling > > `printk' or suitable variants directly. > > It's to allow the message content to be added to the internal > &adapter->msgbuf[adapter->msgbuflen] > with strcpy for later use with blogic_show_info()/seq_write. I know, but it's not clear to me if it's worth it (a potential buffer overrun there too, BTW). Maciej