From patchwork Tue Oct 10 19:05:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 9997097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 441D1603B5 for ; Tue, 10 Oct 2017 19:05:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3351C28722 for ; Tue, 10 Oct 2017 19:05:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2814028742; Tue, 10 Oct 2017 19:05:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 750FD28722 for ; Tue, 10 Oct 2017 19:05:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932458AbdJJTF5 (ORCPT ); Tue, 10 Oct 2017 15:05:57 -0400 Received: from merlin.infradead.org ([205.233.59.134]:59112 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932087AbdJJTF5 (ORCPT ); Tue, 10 Oct 2017 15:05:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L+RqoCz4CIBloXnWBA+ngcqf3oV6qLRoxRTLilyclG8=; b=13VVC/IEa1x0K92okhh+u2RxKe akHiJz4oQR5xH6cDDRucd+uhWL2Cix4JF2c9BpF4GVJM5j9IiSxC8CuhR5mysWWq7UJUeJi0ItR+x nSpLYEuVgdB5pOzRFWdElQyvr/zsV4Re19FK2dBrwuwCkOPzCoxlyTGL7Y3+FzQabmqpSoW3AtltT yazNk6w2j3KqH/8gnhyLgtVNUILjlmbDApon/6Y6TbY2c7Ed8EoTuNIB9VsjZoJQ5KG9bMcxqK/Qo acb+QP7+7vraBF3GfPvj49aFWNGwsqNl0XgrV5Nt3FwkPyRjKpTkru73f45tuqx9btqDf31SZukI8 yxLrERww==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlap) by merlin.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1e1zql-0008RI-7Z; Tue, 10 Oct 2017 19:05:55 +0000 To: linux-scsi , "Martin K. Petersen" , "James E.J. Bottomley" From: Randy Dunlap Subject: [PATCH] scsi: logging_level: update bits description Message-ID: <7d747a9b-e0a0-0f64-f1f3-66338ec7bbea@infradead.org> Date: Tue, 10 Oct 2017 12:05:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Update the description of 'scsi_logging_level' from 8 4-bit nibbles to the (pre-git) reality of 10 3-bit 'nibbles'. Signed-off-by: Randy Dunlap Reviewed-by: Kyle Fortin Reviewed-by: Steffen Maier --- drivers/scsi/scsi_logging.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- lnx-414-rc3.orig/drivers/scsi/scsi_logging.h +++ lnx-414-rc3/drivers/scsi/scsi_logging.h @@ -3,10 +3,10 @@ /* - * This defines the scsi logging feature. It is a means by which the user - * can select how much information they get about various goings on, and it - * can be really useful for fault tracing. The logging word is divided into - * 8 nibbles, each of which describes a loglevel. The division of things is + * This defines the scsi logging feature. It is a means by which the user can + * select how much information they get about various goings on, and it can be + * really useful for fault tracing. The logging word is divided into 10 3-bit + * 'nibbles', each of which describes a loglevel. The division of things is * somewhat arbitrary, and the division of the word could be changed if it * were really needed for any reason. The numbers below are the only place * where these are specified. For a first go-around, 3 bits is more than