platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword
PATCH 1/1 platform/x86: ISST: Mark mmio_range_devid_0 and mmio_range_devid_1 with static keyword
Fix the following sparse warnings:
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24: warning: symbol 'mmio_range_devid_0' was not declared. Should it be static? drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24: warning: symbol 'mmio_range_devid_1' was not declared. Should it be static?
--- drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +2 -2
@@ -20,12 +20,12 @@ struct isst_mmio_range {int end; }; -struct isst_mmio_range mmio_range_devid_0[] = { +static struct isst_mmio_range mmio_range_devid_0[] = { {0x04 ,0x14 }, {0x20 ,0xD0 }, }; -struct isst_mmio_range mmio_range_devid_1[] = { +static struct isst_mmio_range mmio_range_devid_1[] = { {0x04 ,0x14 }, {0x20 ,0x11C }, };
Signature · 1 line
2.6.2
Quoted 9 lines · Zou Wei
Fix the following sparse warnings:
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24:
warning: symbol 'mmio_range_devid_0' was not declared. Should it be static?drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24:
warning: symbol 'mmio_range_devid_1' was not declared. Should it be static?
Yesterday I sent a patch "[PATCH v2 2/3] platform/x86: ISST: Allow configurable offset range" to fix.
Thanks,
Srinivas
Quoted 26 lines
Signed-off-by Zou Wei <[email protected]>---
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)diff --git
a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.cb/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.cindex 2906cfe..ff49025 100644drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +0
-0@@ -20,12 +20,12 @@ struct isst_mmio_range { int end; };drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +1
-1-struct isst_mmio_range mmio_range_devid_0[] = { +static struct isst_mmio_range mmio_range_devid_0[] = {{0x04,
0x14},
{0x20,0xD0},
};drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +1
-1-struct isst_mmio_range mmio_range_devid_1[] = { +static struct isst_mmio_range mmio_range_devid_1[] = {{0x04,
0x14},
{0x20,0x11C},
};
Hi,
Quoted 10 lines · Srinivas
Quoted 9 lines · Zou Wei
Fix the following sparse warnings:
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24:
warning: symbol 'mmio_range_devid_0' was not declared. Should it be static?drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24:
warning: symbol 'mmio_range_devid_1' was not declared. Should it be static?
Quoted 2 lines
Yesterday I sent a patch "[PATCH v2 2/3] platform/x86: ISST: Allow configurable offset range" to fix.
And I replied to that v2 with the following:
"I've already added v1 of these to the for-next branch of:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/
Please send the changes in this v2 as (a) follow-up patch(es)."
https://lore.kernel.org/platform-driver-x86/[email protected]/T/#t
But I guess you may not have seen this because Intel's mail-servers seem to have gone completely foobar lately and are bouncing most of my emails it seems. I strongly suggest that you subscribe to the platform-driver-x86 lists, so that you at least get replies to your patches through the list.
So are the changes in this patch from Zou Wei the only changes in v2 of your ISST changes? If that is the case then I'll just merge Zou Wei's patch and then we're done.
Regards,
Hans
Quoted 27 lines
Quoted 26 lines
Signed-off-by Zou Wei <[email protected]>---
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)diff --git
a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.cb/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.cindex 2906cfe..ff49025 100644drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +0
-0@@ -20,12 +20,12 @@ struct isst_mmio_range { int end; };drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +1
-1-struct isst_mmio_range mmio_range_devid_0[] = { +static struct isst_mmio_range mmio_range_devid_0[] = {{0x04,
0x14},
{0x20,0xD0},
};drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +1
-1-struct isst_mmio_range mmio_range_devid_1[] = { +static struct isst_mmio_range mmio_range_devid_1[] = {{0x04,
0x14},
{0x20,0x11C},
};
Quoted 35 lines · Hans de Goede
Hi,
Quoted 12 lines · Srinivas
Quoted 11 lines · Zou Wei
Fix the following sparse warnings:
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24:
warning: symbol 'mmio_range_devid_0' was not declared. Should it be
static?drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24:
warning: symbol 'mmio_range_devid_1' was not declared. Should it be
static?Quoted 2 lines
Yesterday I sent a patch "[PATCH v2 2/3] platform/x86: ISST: Allow configurable offset range" to fix.
And I replied to that v2 with the following:
"I've already added v1 of these to the for-next branch of:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/
Please send the changes in this v2 as (a) follow-up patch(es)."
https://lore.kernel.org/platform-driver-x86/[email protected]/T/#t
But I guess you may not have seen this because Intel's mail-servers seem to have gone completely foobar lately and are bouncing most of my emails it seems. I strongly suggest that you subscribe to the platform-driver-x86 lists, so that you at least get replies to your patches through the list.
Quoted 3 lines
So are the changes in this patch from Zou Wei the only changes in v2 of your ISST changes? If that is the case then I'll just merge Zou Wei's patch and then we're done.
Fine with me. Just merge Wei's patch.
Thanks,
Srinivas
Quoted 36 lines
Regards,
Hans
Quoted 28 lines
Quoted 27 lines
Signed-off-by Zou Wei <[email protected]>---
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 4
++--1 file changed, 2 insertions(+), 2 deletions(-)diff --git
a/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.cb/drivers/platform/x86/intel_speed_select_if/isst_if_mmio.cindex 2906cfe..ff49025 100644drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +0
-0@@ -20,12 +20,12 @@ struct isst_mmio_range { int end; };drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +1
-1-struct isst_mmio_range mmio_range_devid_0[] = { +static struct isst_mmio_range mmio_range_devid_0[] = {{0x04,
0x14},
{0x20,0xD0},
};drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +1
-1-struct isst_mmio_range mmio_range_devid_1[] = { +static struct isst_mmio_range mmio_range_devid_1[] = {{0x04,
0x14},
{0x20,0x11C},
};
Hi,
Quoted 6 lines · Zou Wei
Fix the following sparse warnings:
drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:23:24: warning: symbol 'mmio_range_devid_0' was not declared. Should it be static?drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c:28:24: warning: symbol 'mmio_range_devid_1' was not declared. Should it be static?Signed-off-by Zou Wei <[email protected]>
Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.
Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.
Regards,
Hans
Quoted 24 lines
--- drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c +2
-2@@ -20,12 +20,12 @@ struct isst_mmio_range {int end; }; -struct isst_mmio_range mmio_range_devid_0[] = { +static struct isst_mmio_range mmio_range_devid_0[] = { {0x04 ,0x14 }, {0x20 ,0xD0 }, }; -struct isst_mmio_range mmio_range_devid_1[] = { +static struct isst_mmio_range mmio_range_devid_1[] = { {0x04 ,0x14 }, {0x20 ,0x11C }, };