Re: [PATCH RESEND] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-06-10 Thread Gu Zheng
On 06/11/2013 01:47 AM, James Bottomley wrote: > On Mon, 2013-06-10 at 09:57 +0800, Gu Zheng wrote: >> diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h >> index 66216c1..f3377ca 100644 >> --- a/include/scsi/scsi.h >> +++ b/include/scsi/scsi.h >> @@ -574

[PATCH RESEND] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-06-09 Thread Gu Zheng
There are four places convert system time in UTC to local time seconds as a time stamp in scsi-subsystem, so we introduce a help function local_time_seconds() to simplify these operations. Signed-off-by: Gu Zheng --- drivers/scsi/3w-9xxx.c | 14 ++ drivers/scsi/3w-sas.c

Re: [PATCH] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-06-04 Thread Gu Zheng
ping... On 05/29/2013 05:33 PM, Gu Zheng wrote: >>From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001 > From: Gu Zheng > Date: Wed, 29 May 2013 17:34:22 +0900 > Subject: [PATCH] driver/scsi: Introduce a help function local_time_seconds() > to simplify the

Re: [PATCH] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-05-29 Thread Gu Zheng
On 05/30/2013 11:00 AM, Libo Chen wrote: > On 2013/5/29 17:33, Gu Zheng wrote: >> >From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001 >> From: Gu Zheng >> Date: Wed, 29 May 2013 17:34:22 +0900 >> Subject: [PATCH] driver/scsi: Introduce a he

[PATCH] scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation

2013-05-29 Thread Gu Zheng
>From 4d4caa16f3886ae910ad6dfe13353fc836f546cc Mon Sep 17 00:00:00 2001 From: Gu Zheng Date: Wed, 29 May 2013 17:34:22 +0900 Subject: [PATCH] driver/scsi: Introduce a help function local_time_seconds() to simplify the getting time stamp operation Signed-off-by: Gu Zheng --- drivers/scsi

Re: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds()

2013-05-14 Thread Gu Zheng
On 05/14/2013 11:57 PM, John Stultz wrote: > On 05/14/2013 12:45 AM, Gu Zheng wrote: >> From 18072c1c3506a7e37ee485307a2c343efe5af4d0 Mon Sep 17 00:00:00 2001 >> From: Gu Zheng >> Date: Mon, 13 May 2013 15:45:24 +0900 >> Subject: [PATCH 1/2] Kernel/time: Introdu

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-14 Thread Gu Zheng
On 05/14/2013 01:23 AM, Yinghai Lu wrote: > On Mon, May 13, 2013 at 9:08 AM, Jiang Liu wrote: >> From: Gu Zheng >> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c >> index 4f0bc0a..bc075a3 100644 >> --- a/drivers/pci/probe.c >> +++ b/drivers/pci/probe.

[PATCH 2/2] driver/scsi: Use local_time_seconds() to simplify the get local timestamp operation

2013-05-14 Thread Gu Zheng
>From 1abbcf9fa5ce6c9a0b005a445c53b9412b42fa83 Mon Sep 17 00:00:00 2001 From: Gu Zheng Date: Mon, 13 May 2013 14:58:49 +0900 Subject: [PATCH 2/2] driver/scsi: Use local_time_seconds() to simplify the get local timestamp operation Signed-off-by: Gu Zheng --- drivers/scsi/3w-9xxx.c |

[PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds()

2013-05-14 Thread Gu Zheng
>From 18072c1c3506a7e37ee485307a2c343efe5af4d0 Mon Sep 17 00:00:00 2001 From: Gu Zheng Date: Mon, 13 May 2013 15:45:24 +0900 Subject: [PATCH 1/2] Kernel/time: Introduce a new timestamp function local_time_seconds() Introduce a new timestamp function local_time_seconds() to hide the convers