# Re: \[PATCH 1/3\] ibmvfc: byte swap login\_buf.resp values in attribute show functions

- From: Martin K. Petersen \<hidden\>
- Date: 2020-11-20 03:10:29 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/11/6183607
- Thread: https://ratatoskr.run/linux-scsi/2020/11/6183607/t.md

```text

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
```
