diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /net/sctp/probe.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'net/sctp/probe.c')
-rw-r--r-- | net/sctp/probe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/sctp/probe.c b/net/sctp/probe.c index db3a42b8b349..bc6cd75cc1dc 100644 --- a/net/sctp/probe.c +++ b/net/sctp/probe.c | |||
@@ -22,6 +22,8 @@ | |||
22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
26 | |||
25 | #include <linux/kernel.h> | 27 | #include <linux/kernel.h> |
26 | #include <linux/kprobes.h> | 28 | #include <linux/kprobes.h> |
27 | #include <linux/socket.h> | 29 | #include <linux/socket.h> |
@@ -117,6 +119,7 @@ static const struct file_operations sctpprobe_fops = { | |||
117 | .owner = THIS_MODULE, | 119 | .owner = THIS_MODULE, |
118 | .open = sctpprobe_open, | 120 | .open = sctpprobe_open, |
119 | .read = sctpprobe_read, | 121 | .read = sctpprobe_read, |
122 | .llseek = noop_llseek, | ||
120 | }; | 123 | }; |
121 | 124 | ||
122 | sctp_disposition_t jsctp_sf_eat_sack(const struct sctp_endpoint *ep, | 125 | sctp_disposition_t jsctp_sf_eat_sack(const struct sctp_endpoint *ep, |
@@ -192,7 +195,7 @@ static __init int sctpprobe_init(void) | |||
192 | if (ret) | 195 | if (ret) |
193 | goto remove_proc; | 196 | goto remove_proc; |
194 | 197 | ||
195 | pr_info("SCTP probe registered (port=%d)\n", port); | 198 | pr_info("probe registered (port=%d)\n", port); |
196 | 199 | ||
197 | return 0; | 200 | return 0; |
198 | 201 | ||