linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH wsa] i2c: axxia: axxia_i2c_quirks can be static
  2015-01-08 17:57 [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? kbuild test robot
@ 2015-01-08 17:57 ` kbuild test robot
  2015-01-08 18:28 ` [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? Wolfram Sang
  1 sibling, 0 replies; 5+ messages in thread
From: kbuild test robot @ 2015-01-08 17:57 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: kbuild-all, Anders Berg, linux-i2c, linux-kernel

drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 i2c-axxia.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c
index 2d35476..488c5d3 100644
--- a/drivers/i2c/busses/i2c-axxia.c
+++ b/drivers/i2c/busses/i2c-axxia.c
@@ -449,7 +449,7 @@ static const struct i2c_algorithm axxia_i2c_algo = {
 	.functionality = axxia_i2c_func,
 };
 
-struct i2c_adapter_quirks axxia_i2c_quirks = {
+static struct i2c_adapter_quirks axxia_i2c_quirks = {
 	.max_read_len = 255,
 	.max_write_len = 255,
 };

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?
@ 2015-01-08 17:57 kbuild test robot
  2015-01-08 17:57 ` [PATCH wsa] i2c: axxia: axxia_i2c_quirks can be static kbuild test robot
  2015-01-08 18:28 ` [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? Wolfram Sang
  0 siblings, 2 replies; 5+ messages in thread
From: kbuild test robot @ 2015-01-08 17:57 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: kbuild-all, Anders Berg, linux-i2c, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/quirks
head:   b1d39af8ae21f4930854b0656aa83a83fd38049e
commit: 70181ecd2990326a91edb3dac1db4cce21e561f7 [7/11] i2c: axxia: make use of the new infrastructure for quirks
reproduce:
  # apt-get install sparse
  git checkout 70181ecd2990326a91edb3dac1db4cce21e561f7
  make ARCH=x86_64 allmodconfig
  make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?
  2015-01-08 17:57 [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? kbuild test robot
  2015-01-08 17:57 ` [PATCH wsa] i2c: axxia: axxia_i2c_quirks can be static kbuild test robot
@ 2015-01-08 18:28 ` Wolfram Sang
  2015-01-08 21:51   ` Fengguang Wu
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2015-01-08 18:28 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, Anders Berg, linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

On Fri, Jan 09, 2015 at 01:57:37AM +0800, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/quirks
> head:   b1d39af8ae21f4930854b0656aa83a83fd38049e
> commit: 70181ecd2990326a91edb3dac1db4cce21e561f7 [7/11] i2c: axxia: make use of the new infrastructure for quirks
> reproduce:
>   # apt-get install sparse
>   git checkout 70181ecd2990326a91edb3dac1db4cce21e561f7
>   make ARCH=x86_64 allmodconfig
>   make C=1 CF=-D__CHECK_ENDIAN__
> 
> 
> sparse warnings: (new ones prefixed by >>)
> 
> >> drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?
> 
> Please review and possibly fold the followup patch.

Yes, it should be static.

However, this is a development branch and in this case it would be
enough if the test results would be directed to me only.

Is there a way to achieve this? I know that adding "experimental" to the
branch name will skip the testing. Is there another pattern to prevent
sending mails to everyone?

Thanks,

   Wolfram


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?
  2015-01-08 18:28 ` [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? Wolfram Sang
@ 2015-01-08 21:51   ` Fengguang Wu
  2015-01-09 10:57     ` Wolfram Sang
  0 siblings, 1 reply; 5+ messages in thread
From: Fengguang Wu @ 2015-01-08 21:51 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: kbuild-all, Anders Berg, linux-i2c, linux-kernel

Hi Wolfram,

On Thu, Jan 08, 2015 at 07:28:48PM +0100, Wolfram Sang wrote:
> On Fri, Jan 09, 2015 at 01:57:37AM +0800, kbuild test robot wrote:
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/quirks
> > head:   b1d39af8ae21f4930854b0656aa83a83fd38049e
> > commit: 70181ecd2990326a91edb3dac1db4cce21e561f7 [7/11] i2c: axxia: make use of the new infrastructure for quirks
> > reproduce:
> >   # apt-get install sparse
> >   git checkout 70181ecd2990326a91edb3dac1db4cce21e561f7
> >   make ARCH=x86_64 allmodconfig
> >   make C=1 CF=-D__CHECK_ENDIAN__
> > 
> > 
> > sparse warnings: (new ones prefixed by >>)
> > 
> > >> drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?
> > 
> > Please review and possibly fold the followup patch.
> 
> Yes, it should be static.
> 
> However, this is a development branch and in this case it would be
> enough if the test results would be directed to me only.

It's normally private emails, except for the ones that carry patches
with them. In which case public mailing lists will also be CCed.

> Is there a way to achieve this? I know that adding "experimental" to the
> branch name will skip the testing. Is there another pattern to prevent
> sending mails to everyone?

I wonder if the occasional public emails are acceptable to you. If
not, it'd be trivial for me to add a list of "personal git trees"
where all emails including the auto generated patches will be kept
private (if commit author == committer).

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static?
  2015-01-08 21:51   ` Fengguang Wu
@ 2015-01-09 10:57     ` Wolfram Sang
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2015-01-09 10:57 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: kbuild-all, Anders Berg, linux-i2c, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

Hi Fengguang,

> It's normally private emails, except for the ones that carry patches
> with them. In which case public mailing lists will also be CCed.

OK, thought so.

> > Is there a way to achieve this? I know that adding "experimental" to the
> > branch name will skip the testing. Is there another pattern to prevent
> > sending mails to everyone?
> 
> I wonder if the occasional public emails are acceptable to you.

Not really. If I push out development code which is good enough to be
build tested but not ready to be sent upstream yet, I think other people
and mailing lists should not be bothered.

> not, it'd be trivial for me to add a list of "personal git trees"
> where all emails including the auto generated patches will be kept
> private (if commit author == committer).

For my workflow, everything except "for-current" and "for-next" should
be private. I do appreciate the patches for those two, so thanks for
that in general!

All the best,

   Wolfram


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-09 10:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 17:57 [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? kbuild test robot
2015-01-08 17:57 ` [PATCH wsa] i2c: axxia: axxia_i2c_quirks can be static kbuild test robot
2015-01-08 18:28 ` [wsa:i2c/quirks 7/11] drivers/i2c/busses/i2c-axxia.c:452:27: sparse: symbol 'axxia_i2c_quirks' was not declared. Should it be static? Wolfram Sang
2015-01-08 21:51   ` Fengguang Wu
2015-01-09 10:57     ` Wolfram Sang

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).