> On Nov 28, 2018, at 7:01 PM, David Disseldorp <dd...@suse.de> wrote: > > In preparation for supporting user provided vendor strings, add an extra > byte to t10_wwn.vendor which will ensure null string termination when an > eight byte vendor string is provided by the user. > > Signed-off-by: David Disseldorp <dd...@suse.de> > --- > drivers/target/target_core_device.c | 6 ++++-- > drivers/target/target_core_pscsi.c | 6 ++++-- > drivers/target/target_core_stat.c | 4 ++-- > include/target/target_core_base.h | 8 +++++++- > 4 files changed, 17 insertions(+), 7 deletions(-) > > Reviewed-by: Bryant G. Ly b...@catalogicsoftware.com
- [PATCH v4 0/7] target: user configurable T10 Vendor ID David Disseldorp
- [PATCH v4 1/7] target: use consistent left-aligned A... David Disseldorp
- [PATCH v4 5/7] target: add device vendor_id configfs... David Disseldorp
- [PATCH v4 2/7] target: consistently null-terminate t... David Disseldorp
- Re: [PATCH v4 2/7] target: consistently null-ter... Ly, Bryant
- Re: [PATCH v4 2/7] target: consistently null-ter... Lee Duncan
- Re: [PATCH v4 2/7] target: consistently null-ter... Bart Van Assche
- [PATCH v4 4/7] target: consistently null-terminate t... David Disseldorp
- Re: [PATCH v4 4/7] target: consistently null-ter... Ly, Bryant
- Re: [PATCH v4 4/7] target: consistently null-ter... Lee Duncan
- Re: [PATCH v4 4/7] target: consistently null-ter... Bart Van Assche
- [PATCH v4 3/7] target: consistently null-terminate t... David Disseldorp
- Re: [PATCH v4 3/7] target: consistently null-ter... Ly, Bryant
- Re: [PATCH v4 3/7] target: consistently null-ter... Lee Duncan
- Re: [PATCH v4 3/7] target: consistently null-ter... Bart Van Assche