Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp957017pxb; Thu, 19 Nov 2020 19:13:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQKO8z4g/u5OLfNR4cFmuHF6sq0VGEVomzpZK6r0TlF/rB756YNClL0p3EkmrBOekEMFJf X-Received: by 2002:aa7:c448:: with SMTP id n8mr14519790edr.10.1605842021363; Thu, 19 Nov 2020 19:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605842021; cv=none; d=google.com; s=arc-20160816; b=Nte50v3cr+Qt+RFRs/Xp+Rmy8sVX+uiwef6u0nyxjcuXQOsbwtM75hO39EoFxvo4B6 X9qFmN4lbtTDcD88IXng+GZ6/sspPh0M+8etT9sg+TQ9yhxlqGLKgJck0IyuqYfZ+iGA LnkUxsKe0Ugbd1wpwy83rsmUds0ovaVfyyWyLWG7wsJA7kvLC/cIZPNtVVjLCTVRFgg0 /FXqNI83QbQHvL1MKKlQg9gK2AqJTbhXli9IbxM8urlDTJnz5lxO7g62B9qRNr7x/2ig FBi/61ndlQYGSMFsI845o9fZKW5VaqHR9CvCSQNC9g/TTaRvT50+R0kueFDT3ew/42q8 5M6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=lLCnPs3Y88E1DLLJhdWCcM4wtkjHToEze7h1vCE4g/o=; b=is6dXAej4+92uirbE1x9VTZimnFwpH1Nm3YjzGWhAFwJYiWSrMAy/Q6kpRyMgaRzwD 0dR8Q+y1BYjxLFU9INTqrSfRNmUz7y821Wcr64wguxnlgYsqndqldS1kpWBy4SgirB/b rbri9McT1cSBkgkQjDv5zIGg8oGTZMLrSlWqwq4cQgMvtzda4F4OmQOlCwDe4NILR6Fx H/QI7hoovSy0ARQ0wjyMTCWZa2HgDXBwXSZDYFy0o4TiH6E4owJ4e7zYZGM5IkUfrTvE dXGq+9Y/A6fdIEjnCk0yZ4JXrxYuxvjJVQdilXNYa31gw2UinZCaf6z9yJn/8ULWhflR 22MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=QsSQLvHs; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq35si927165ejc.633.2020.11.19.19.13.18; Thu, 19 Nov 2020 19:13:41 -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=@oracle.com header.s=corp-2020-01-29 header.b=QsSQLvHs; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727286AbgKTDKF (ORCPT + 99 others); Thu, 19 Nov 2020 22:10:05 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:32840 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbgKTDKF (ORCPT ); Thu, 19 Nov 2020 22:10:05 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AK34W9B040618; Fri, 20 Nov 2020 03:09:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=lLCnPs3Y88E1DLLJhdWCcM4wtkjHToEze7h1vCE4g/o=; b=QsSQLvHsCFYbv5YnpvgoXRF1Z2M8NKs9UHPgzXS3Gd2Ccv1xrba6YymT+HTcA8e2A9s8 Zklms5pYC8CS7QuB2KUsqN41tE2NJPBr4o/Ax93rL5WgzpxqrX2JcJ8JlgiY7pCFayNw ET58pDC5234x0US4OaSM/D1LzngwId+j9FaRR9e2WDXjPlP/geO/wYIIbYUU3WFp4JL5 CdFTTy4Va0BneGty9D2uldEzCMe+fKxluPqLopf7TOB9it+BE5PKY8tqWhlzk7aoZW4x cyEuiDWkLs8kf1XziawbLFelYREkApsXNABxAMkBmzgb9mtfPHlJVgyYGX1QmJEcyaoV Lg== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2130.oracle.com with ESMTP id 34t4rb8sr0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 20 Nov 2020 03:09:56 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AK36eWd160659; Fri, 20 Nov 2020 03:09:55 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 34ts60vr31-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Nov 2020 03:09:55 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0AK39nTv007582; Fri, 20 Nov 2020 03:09:49 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 19 Nov 2020 19:09:49 -0800 To: Tyrel Datwyler Cc: james.bottomley@hansenpartnership.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, brking@linux.ibm.com Subject: Re: [PATCH 1/3] ibmvfc: byte swap login_buf.resp values in attribute show functions From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20201117185031.129939-1-tyreld@linux.ibm.com> Date: Thu, 19 Nov 2020 22:09:47 -0500 In-Reply-To: <20201117185031.129939-1-tyreld@linux.ibm.com> (Tyrel Datwyler's message of "Tue, 17 Nov 2020 12:50:29 -0600") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9810 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 phishscore=0 suspectscore=1 mlxscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011200022 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9810 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 clxscore=1011 malwarescore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 phishscore=0 suspectscore=1 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011200021 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tyrel, > 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. Applied 1-3 to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering