From patchwork Wed Oct 11 17:09:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10000123 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 D8C0360244 for ; Wed, 11 Oct 2017 17:09:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD9D91FFB7 for ; Wed, 11 Oct 2017 17:09:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D262F2843B; Wed, 11 Oct 2017 17:09:30 +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 521D81FFB7 for ; Wed, 11 Oct 2017 17:09:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbdJKRJ3 (ORCPT ); Wed, 11 Oct 2017 13:09:29 -0400 Received: from merlin.infradead.org ([205.233.59.134]:51810 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbdJKRJ2 (ORCPT ); Wed, 11 Oct 2017 13:09:28 -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:Cc:To:Subject:From:Sender:Reply-To: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=qr7crrvHFsKNUtwjOMQfPepPn5HFeXJUCd/fGzU76g0=; b=BjxSxvmpzDexrVh3hCw44ngEdJ Vly5JLYY5Q8SXsUPvC2mOoxyjT3apen2vTVn53WXK7KHNqNFqEN7ycEgbWVNEpHYk/MNK4Q/sTV1l SeMnvxgC3JJlHemIacX9tyidE9W33rjGW356aypuTFHxppAAexChuD7cYYEQvHKDEnsNMe8vZUd16 f/2E3HmOcQvNxh0lKKa3zn5ciJcIDb34x5kD5Wvksgq2SdcmWrN+CjGKPMUwwlW9ObDhlCpnrnPi2 FHRcNm/CYXMI8ptnK22vxarw2oGjZkuycnT+XWvkH/BEVCH850yIrB3Eu/oZB+wAPCntjbH7FdvWu J6C3wqVg==; 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 1e2KVY-0000YW-NS; Wed, 11 Oct 2017 17:09:24 +0000 From: Randy Dunlap Subject: [PATCH v2] scsi: logging: update description of logging_level bits To: linux-scsi , "Martin K. Petersen" , "James E.J. Bottomley" Cc: Kyle Fortin , Steffen Maier Message-ID: <405824b6-5dd7-dc34-55a9-c11f69e2fabd@infradead.org> Date: Wed, 11 Oct 2017 10:09:23 -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 bitfields. Signed-off-by: Randy Dunlap Reviewed-by: Kyle Fortin Reviewed-by: Steffen Maier Reviewed-by: Kyle Fortin --- drivers/scsi/scsi_logging.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) v2: change 3-bit 'nibbles' to 3-bit bitfields. add Reviewed-bys. --- 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 + * bitfields, 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