Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1401918pxb; Fri, 13 Nov 2020 11:42:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxoRQi5jbtFptGZjuDr3v+gn3j8SBD2aUj56tX7yb2mCpDvnloz/8x2WtagO6w/VXnMSMpF X-Received: by 2002:a17:907:374:: with SMTP id rs20mr3585513ejb.191.1605296522222; Fri, 13 Nov 2020 11:42:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605296522; cv=none; d=google.com; s=arc-20160816; b=yWDVwovKupJiXqo5VbqTlKNFbsNEINK7AQ3gPzycYE5IrXAnOzLnUWqO0+RIb+c3cX sudOYmRigjxKHRzYz/HvB8CrBrZocpLkZJm/ZNmThUMcE+WmP62RwI8PhIf3ys5Ynu4O BR/NksCicaS7cJOF8/rAhDOQJ0QYYNjkdlskPxMWvr7cBuvibVej5eew22u9D+LIH75Q +PjuF3/k9G1Aj561blO4JTLFSZpigHt0zrKxyhxjAK7R9ih/8CmGP/H3il4wis2fMK/H x0dJkCSQ9cv0XrcpMxwb69H7/3le5hPWyBybk8yn+9rNLzxnCFWAImMZvCxChGHfUKs0 7xhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=nPwIVS1T6ImUpr2jIqRuuKKMr+2ETbA+Gq0kZ/tqCVg=; b=PqV+ZYz31cgfqclTeSKbjL+fQgUVHaVeeD3MD8o0WdSC3qoR0I/Hv/qOZR7dV6PYAl TwYEgdn61DY3QYvevvJ//caL5xfY8Pwsbb88p/8ONren8KWIdCl9PYVQBk2uucYogUoQ /3tjjSHclZTLtiHobbRFnjUGv5ZhsQfSJ3YZBNOy+UiEIJmNL1HRGRaUfWPkfCZpgj1j 5kGJr9l7JvsGxwEJ9+qo2xKbHl+nzkqMkdlmNSmrF7yLm0uX8R7I8TbIqjI7MuCm5p1+ 0n4eaXRNmJOnaOLSKKgr7edwI9Xy6zm+m97XfN9/6M+Q+9LDOjR+3+7GGsgDFSMIXZOK OPnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="iCQz/8Sk"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si7828533edp.346.2020.11.13.11.41.39; Fri, 13 Nov 2020 11:42:02 -0800 (PST) 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; dkim=pass header.i=@ibm.com header.s=pp1 header.b="iCQz/8Sk"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726136AbgKMTj4 (ORCPT + 99 others); Fri, 13 Nov 2020 14:39:56 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47674 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726162AbgKMTjz (ORCPT ); Fri, 13 Nov 2020 14:39:55 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0ADJVUKv069329; Fri, 13 Nov 2020 14:39:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=nPwIVS1T6ImUpr2jIqRuuKKMr+2ETbA+Gq0kZ/tqCVg=; b=iCQz/8SkXOg3XXaQfJVahDrDIbsIRLkFMBws6norJAThObkrjTT1s6b/78/nG0xDnq5I bPi21MUX+5A+1OTYTW5PeYLH7VGKmy39Y5kkNEyYx+TdCNhsr2E9mVQPLg0+3qpp3HwA dnbDtRMUpPDvQXNA0FHqxUIm6nbVd22LyDZ5Rzy3BPitmgx+DhnUOjL/IzGPGt4VfNNC 5rCGNaO1t8jRy7RFc39ISjDoqwa+tDTtbdPTl+6B7Fi6jVbgpTVsuGjjZVEnfcCkAWim M5EyqJZzWG1U0+Ar5vLSn6aO8Uv8fODwUDnyS9ga7x3PHQFH750bCOo9ySfdimaJQ7wA yQ== Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 34sxs2bj10-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Nov 2020 14:39:40 -0500 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 0ADJbWWE012766; Fri, 13 Nov 2020 19:39:39 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma03dal.us.ibm.com with ESMTP id 34nk7ajmw6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Nov 2020 19:39:39 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0ADJdcRg20513420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Nov 2020 19:39:38 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 86D9F28058; Fri, 13 Nov 2020 19:39:38 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C573A28059; Fri, 13 Nov 2020 19:39:36 +0000 (GMT) Received: from oc6857751186.ibm.com (unknown [9.65.230.183]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 13 Nov 2020 19:39:36 +0000 (GMT) Subject: Re: [PATCH 1/6] ibmvfc: byte swap login_buf.resp values in attribute show functions To: Christoph Hellwig Cc: james.bottomley@hansenpartnership.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, brking@linux.ibm.com, linuxppc-dev@lists.ozlabs.org References: <20201112010442.102589-1-tyreld@linux.ibm.com> <20201112093752.GA24235@infradead.org> From: Tyrel Datwyler Message-ID: <7df9d768-e008-a849-5fbd-78d6bd0536fa@linux.ibm.com> Date: Fri, 13 Nov 2020 11:39:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201112093752.GA24235@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-13_17:2020-11-13,2020-11-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 spamscore=0 impostorscore=0 clxscore=1011 suspectscore=0 mlxlogscore=999 adultscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011130123 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/12/20 1:37 AM, Christoph Hellwig wrote: > On Wed, Nov 11, 2020 at 07:04:37PM -0600, Tyrel Datwyler wrote: >> Both ibmvfc_show_host_(capabilities|npiv_version) functions retrieve >> values from vhost->login_buf.resp buffer. This is the MAD response >> buffer from the VIOS and as such any multi-byte non-string values are in >> big endian format. >> >> Byte swap these values to host cpu endian format for better human >> readability. > > The whole series creates tons of pointlessly over 80 char lines. > Please do a quick fixup. > The checkpatch script only warns at 100 char lines these days. To be fair though I did have two lines go over that limit by a couple characters, there are a couple commit log typos, and I had an if keyword with no space after before the opening parenthesis. So, I'll happily re-spin. However, for my info going forward is the SCSI subsystem sticking to 80 char lines as a hard limit? -Tyrel