Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-08 Thread Khalid Aziz
On 07/08/2015 01:12 AM, Frans Klaver wrote: On Wed, Jul 8, 2015 at 7:45 AM, Christophe JAILLET wrote: Le 07/07/2015 19:04, Khalid Aziz a écrit : On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET wrote: Stop comparing the strings as soon as we

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-08 Thread Frans Klaver
On Wed, Jul 8, 2015 at 7:45 AM, Christophe JAILLET wrote: > Le 07/07/2015 19:04, Khalid Aziz a écrit : >> >> On 07/07/2015 02:45 AM, Frans Klaver wrote: >>> >>> On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET >>> wrote: Stop comparing the strings as soon as we know that they don't

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-08 Thread Khalid Aziz
On 07/08/2015 01:12 AM, Frans Klaver wrote: On Wed, Jul 8, 2015 at 7:45 AM, Christophe JAILLET christophe.jail...@wanadoo.fr wrote: Le 07/07/2015 19:04, Khalid Aziz a écrit : On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-08 Thread Frans Klaver
On Wed, Jul 8, 2015 at 7:45 AM, Christophe JAILLET christophe.jail...@wanadoo.fr wrote: Le 07/07/2015 19:04, Khalid Aziz a écrit : On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET christophe.jail...@wanadoo.fr wrote: Stop comparing the strings

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Christophe JAILLET
Le 07/07/2015 19:04, Khalid Aziz a écrit : On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET wrote: Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET --- drivers/scsi/FlashPoint.c | 4 +++-

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Khalid Aziz
On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET wrote: Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET --- drivers/scsi/FlashPoint.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Frans Klaver
On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET wrote: > Stop comparing the strings as soon as we know that they don't match. > > Signed-off-by: Christophe JAILLET > --- > drivers/scsi/FlashPoint.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Khalid Aziz
On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET christophe.jail...@wanadoo.fr wrote: Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET christophe.jail...@wanadoo.fr ---

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Frans Klaver
On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET christophe.jail...@wanadoo.fr wrote: Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET christophe.jail...@wanadoo.fr --- drivers/scsi/FlashPoint.c | 4 +++- 1 file changed, 3

Re: [PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-07 Thread Christophe JAILLET
Le 07/07/2015 19:04, Khalid Aziz a écrit : On 07/07/2015 02:45 AM, Frans Klaver wrote: On Tue, Jul 7, 2015 at 7:39 AM, Christophe JAILLET christophe.jail...@wanadoo.fr wrote: Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET

[PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-06 Thread Christophe JAILLET
Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET --- drivers/scsi/FlashPoint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index 5c74e4c..24a4d1a 100644 ---

[PATCH] [SCSI] FlashPoint: optimize string comparison

2015-07-06 Thread Christophe JAILLET
Stop comparing the strings as soon as we know that they don't match. Signed-off-by: Christophe JAILLET christophe.jail...@wanadoo.fr --- drivers/scsi/FlashPoint.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/FlashPoint.c b/drivers/scsi/FlashPoint.c index