RE: [PATCH] scsi: ufs: revamp string descriptor reading

2019-01-17 Thread Avri Altman
> > > > Hello Tomas, > > > > > > > > > > > Define new a type: uc_string_id for easier string handling and less > > > > casting. Reduce number or string copies in price of a dynamic > > > > allocation. > > > > > > > > Signed-off-by: Tomas Winkler > > > Tested-by: Avri Altman > > > > > > Just one

RE: [PATCH] scsi: ufs: revamp string descriptor reading

2019-01-16 Thread Winkler, Tomas
> > Hello Tomas, > > > > > > > > Define new a type: uc_string_id for easier string handling and less > > > casting. Reduce number or string copies in price of a dynamic > > > allocation. > > > > > > Signed-off-by: Tomas Winkler > > Tested-by: Avri Altman > > > > Just one nit - doesn't really matt

RE: [PATCH] scsi: ufs: revamp string descriptor reading

2018-12-13 Thread Winkler, Tomas
tam > ; Subhash Jadavani > ; Alex Lemberg ; linux- > s...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: RE: [PATCH] scsi: ufs: revamp string descriptor reading > > Hello Tomas, > > > > > Define new a type: uc_string_id for easier string handling and less

RE: [PATCH] scsi: ufs: revamp string descriptor reading

2018-12-11 Thread Avri Altman
Hello Tomas, > > Define new a type: uc_string_id for easier string > handling and less casting. Reduce number or string > copies in price of a dynamic allocation. > > Signed-off-by: Tomas Winkler Tested-by: Avri Altman Just one nit - doesn't really matters. Cheers, Avri > --- > drivers/sc

[PATCH] scsi: ufs: revamp string descriptor reading

2018-12-11 Thread Tomas Winkler
Define new a type: uc_string_id for easier string handling and less casting. Reduce number or string copies in price of a dynamic allocation. Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufs-sysfs.c | 20 ++--- drivers/scsi/ufs/ufs.h | 2 +- drivers/scsi/ufs/ufshcd.c| 164 +