Re: [PATCH][next] sctp: make array sctp_sched_ops static

2017-10-11 Thread David Miller
From: Colin King Date: Wed, 11 Oct 2017 11:17:57 +0100 > From: Colin Ian King > > The array sctp_sched_ops is local to the source and > does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'sctp_sched_ops' was not declared. Should it be static? > > S

Re: [PATCH][next] sctp: make array sctp_sched_ops static

2017-10-11 Thread Marcelo Ricardo Leitner
On Wed, Oct 11, 2017 at 03:44:50AM -0700, Joe Perches wrote: > On Wed, 2017-10-11 at 11:17 +0100, Colin King wrote: > > From: Colin Ian King > > > > The array sctp_sched_ops is local to the source and > > does not need to be in global scope, so make it static. > > > > Cleans up sparse warning:

Re: [PATCH][next] sctp: make array sctp_sched_ops static

2017-10-11 Thread Neil Horman
On Wed, Oct 11, 2017 at 11:17:57AM +0100, Colin King wrote: > From: Colin Ian King > > The array sctp_sched_ops is local to the source and > does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'sctp_sched_ops' was not declared. Should it be static? >

Re: [PATCH][next] sctp: make array sctp_sched_ops static

2017-10-11 Thread Joe Perches
On Wed, 2017-10-11 at 11:17 +0100, Colin King wrote: > From: Colin Ian King > > The array sctp_sched_ops is local to the source and > does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'sctp_sched_ops' was not declared. Should it be static? > > Signe

[PATCH][next] sctp: make array sctp_sched_ops static

2017-10-11 Thread Colin King
From: Colin Ian King The array sctp_sched_ops is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'sctp_sched_ops' was not declared. Should it be static? Signed-off-by: Colin Ian King --- net/sctp/stream_sched.c | 2 +- 1 file c