* [PATCH] fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
@ 2011-04-04 12:43 helight.xu
0 siblings, 0 replies; 3+ messages in thread
From: helight.xu @ 2011-04-04 12:43 UTC (permalink / raw)
To: Eric.Moore, support, DL-MPTFusionLinux
fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
Signed-off-by: helight <helight@zhwen.org>
---
drivers/message/fusion/mptsas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 8aefb18..431092b 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -5009,13 +5009,13 @@ mptsas_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *reply)
(ioc_stat & MPI_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE)) {
VirtTarget *vtarget = NULL;
u8 id, channel;
- u32 log_info = le32_to_cpu(reply->IOCLogInfo);
id = sas_event_data->TargetID;
channel = sas_event_data->Bus;
vtarget = mptsas_find_vtarget(ioc, channel, id);
if (vtarget) {
+ u32 log_info = le32_to_cpu(reply->IOCLogInfo);
devtprintk(ioc, printk(MYIOC_s_DEBUG_FMT
"LogInfo (0x%x) available for "
"INTERNAL_DEVICE_RESET"
--
1.6.0.2
------------------
Zhenwen Xu - Open and FreeHome Page: http://zhwen.org
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
@ 2011-04-06 11:27 helight.xu
2011-04-06 11:29 ` helight.xu
0 siblings, 1 reply; 3+ messages in thread
From: helight.xu @ 2011-04-06 11:27 UTC (permalink / raw)
To: Eric.Moore <Eric.Moore@lsi.com>; support <support@lsi.com>; DL-MPTFusionLinux <DL-MPTFusionLinux@lsi.com>; linux-scsi
Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
Signed-off-by: helight <helight@zhwen.org>
---
drivers/gpu/drm/nouveau/nv50_vm.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_vm.c
b/drivers/gpu/drm/nouveau/nv50_vm.c
index 6144156..1f47c75 100644
--- a/drivers/gpu/drm/nouveau/nv50_vm.c
+++ b/drivers/gpu/drm/nouveau/nv50_vm.c
@@ -31,7 +31,6 @@ void
nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
struct nouveau_gpuobj *pgt[2])
{
- struct drm_nouveau_private *dev_priv = pgd->dev->dev_private;
u64 phys = 0xdeadcafe00000000ULL;
u32 coverage = 0;
--
1.6.0.2
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-fix-warning-unused-variable-log_info-drivers.patch --]
[-- Type: text/x-patch; name="0001-fix-warning-unused-variable-log_info-drivers.patch", Size: 1229 bytes --]
>From 655f95b584289fcf6da3aa4c8ad17ccdbc0b96f3 Mon Sep 17 00:00:00 2001
From: helight <helight@zhwen.org>
Date: Mon, 4 Apr 2011 20:18:23 +0800
Subject: [PATCH] fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
Signed-off-by: helight <helight@zhwen.org>
---
drivers/message/fusion/mptsas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 8aefb18..431092b 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -5009,13 +5009,13 @@ mptsas_event_process(MPT_ADAPTER *ioc, EventNotificationReply_t *reply)
(ioc_stat & MPI_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE)) {
VirtTarget *vtarget = NULL;
u8 id, channel;
- u32 log_info = le32_to_cpu(reply->IOCLogInfo);
id = sas_event_data->TargetID;
channel = sas_event_data->Bus;
vtarget = mptsas_find_vtarget(ioc, channel, id);
if (vtarget) {
+ u32 log_info = le32_to_cpu(reply->IOCLogInfo);
devtprintk(ioc, printk(MYIOC_s_DEBUG_FMT
"LogInfo (0x%x) available for "
"INTERNAL_DEVICE_RESET"
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
2011-04-06 11:27 [PATCH] fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c helight.xu
@ 2011-04-06 11:29 ` helight.xu
0 siblings, 0 replies; 3+ messages in thread
From: helight.xu @ 2011-04-06 11:29 UTC (permalink / raw)
To: Eric.Moore <Eric.Moore@lsi.com>; support <support@lsi.com>; DL-MPTFusionLinux <DL-MPTFusionLinux@lsi.com>; linux-scsi
Cc: linux-kernel
On 04/06/2011 07:27 PM, helight.xu wrote:
> fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
>
>
> Signed-off-by: helight <helight@zhwen.org>
> ---
> drivers/gpu/drm/nouveau/nv50_vm.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nv50_vm.c
> b/drivers/gpu/drm/nouveau/nv50_vm.c
> index 6144156..1f47c75 100644
> --- a/drivers/gpu/drm/nouveau/nv50_vm.c
> +++ b/drivers/gpu/drm/nouveau/nv50_vm.c
> @@ -31,7 +31,6 @@ void
> nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
> struct nouveau_gpuobj *pgt[2])
> {
> - struct drm_nouveau_private *dev_priv = pgd->dev->dev_private;
> u64 phys = 0xdeadcafe00000000ULL;
> u32 coverage = 0;
>
sorry ,this is the patch
fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c
Signed-off-by: helight <helight@zhwen.org>
---
drivers/message/fusion/mptsas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/message/fusion/mptsas.c
b/drivers/message/fusion/mptsas.c
index 8aefb18..431092b 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -5009,13 +5009,13 @@ mptsas_event_process(MPT_ADAPTER *ioc,
EventNotificationReply_t *reply)
(ioc_stat & MPI_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE)) {
VirtTarget *vtarget = NULL;
u8 id, channel;
- u32 log_info = le32_to_cpu(reply->IOCLogInfo);
id = sas_event_data->TargetID;
channel = sas_event_data->Bus;
vtarget = mptsas_find_vtarget(ioc, channel, id);
if (vtarget) {
+ u32 log_info = le32_to_cpu(reply->IOCLogInfo);
devtprintk(ioc, printk(MYIOC_s_DEBUG_FMT
"LogInfo (0x%x) available for "
"INTERNAL_DEVICE_RESET"
--
1.6.0.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-04-06 11:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 11:27 [PATCH] fix warning: unused variable ‘log_info’ drivers/message/fusion/mptsas.c helight.xu
2011-04-06 11:29 ` helight.xu
-- strict thread matches above, loose matches on Subject: below --
2011-04-04 12:43 helight.xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).