RE: [PATCH v7 3/8] uapi: ufs: Make utp_upiu_req visible to user space

2018-10-01 Thread Avri Altman
> > + > > +/* > > + * This file intended to be included by both kernel and user space > > + */ > > + > > +#define MAX_CDB_SIZE 16 > > Please rename this constant such that it has either "UFS" or "UTP" in its > name. This name is too generic for a protocol-specific header file. Done.

Re: [PATCH v7 3/8] uapi: ufs: Make utp_upiu_req visible to user space

2018-09-30 Thread Bart Van Assche
On Sun, 2018-09-30 at 08:45 +0300, Avri Altman wrote: > +++ b/include/uapi/scsi/scsi_bsg_ufs.h > @@ -0,0 +1,74 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * TBD - UFS Transport SGIO v4 BSG Message Support > + * > + * Copyright (C) 2011-2013 Samsung India Software Operations > + */ >

[PATCH v7 3/8] uapi: ufs: Make utp_upiu_req visible to user space

2018-09-29 Thread Avri Altman
in preparation to send UPIU requests via bsg. Signed-off-by: Avri Altman --- drivers/scsi/ufs/ufs.h | 61 + include/uapi/scsi/scsi_bsg_ufs.h | 74 2 files changed, 75 insertions(+), 60 deletions(-) create mode