diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 15:00:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 15:00:02 -0500 |
commit | a2013a13e68354e0c8f3696b69701803e13fb737 (patch) | |
tree | a7e1da6bfad1aa2afd83f401874d606269ce90b4 /net | |
parent | dadfab4873256d2145640c0ce468fcbfb48977fe (diff) | |
parent | 106f9d9337f65bd428c0c79f650e3489e458d771 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial branch from Jiri Kosina:
"Usual stuff -- comment/printk typo fixes, documentation updates, dead
code elimination."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
HOWTO: fix double words typo
x86 mtrr: fix comment typo in mtrr_bp_init
propagate name change to comments in kernel source
doc: Update the name of profiling based on sysfs
treewide: Fix typos in various drivers
treewide: Fix typos in various Kconfig
wireless: mwifiex: Fix typo in wireless/mwifiex driver
messages: i2o: Fix typo in messages/i2o
scripts/kernel-doc: check that non-void fcts describe their return value
Kernel-doc: Convention: Use a "Return" section to describe return values
radeon: Fix typo and copy/paste error in comments
doc: Remove unnecessary declarations from Documentation/accounting/getdelays.c
various: Fix spelling of "asynchronous" in comments.
Fix misspellings of "whether" in comments.
eisa: Fix spelling of "asynchronous".
various: Fix spelling of "registered" in comments.
doc: fix quite a few typos within Documentation
target: iscsi: fix comment typos in target/iscsi drivers
treewide: fix typo of "suport" in various comments and Kconfig
treewide: fix typo of "suppport" in various comments
...
Diffstat (limited to 'net')
-rw-r--r-- | net/can/proc.c | 2 | ||||
-rw-r--r-- | net/ipv4/tcp_cong.c | 2 | ||||
-rw-r--r-- | net/mac80211/driver-ops.h | 2 | ||||
-rw-r--r-- | net/netfilter/nf_log.c | 2 | ||||
-rw-r--r-- | net/rfkill/core.c | 4 | ||||
-rw-r--r-- | net/sctp/endpointola.c | 2 | ||||
-rw-r--r-- | net/sctp/sm_statefuns.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/net/can/proc.c b/net/can/proc.c index 3b6dd3180492..ae566902d2bf 100644 --- a/net/can/proc.c +++ b/net/can/proc.c | |||
@@ -397,7 +397,7 @@ static inline void can_rcvlist_sff_proc_show_one(struct seq_file *m, | |||
397 | int i; | 397 | int i; |
398 | int all_empty = 1; | 398 | int all_empty = 1; |
399 | 399 | ||
400 | /* check wether at least one list is non-empty */ | 400 | /* check whether at least one list is non-empty */ |
401 | for (i = 0; i < 0x800; i++) | 401 | for (i = 0; i < 0x800; i++) |
402 | if (!hlist_empty(&d->rx_sff[i])) { | 402 | if (!hlist_empty(&d->rx_sff[i])) { |
403 | all_empty = 0; | 403 | all_empty = 0; |
diff --git a/net/ipv4/tcp_cong.c b/net/ipv4/tcp_cong.c index baf28611b334..291f2ed7cc31 100644 --- a/net/ipv4/tcp_cong.c +++ b/net/ipv4/tcp_cong.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Plugable TCP congestion control support and newReno | 2 | * Plugable TCP congestion control support and newReno |
3 | * congestion control. | 3 | * congestion control. |
4 | * Based on ideas from I/O scheduler suport and Web100. | 4 | * Based on ideas from I/O scheduler support and Web100. |
5 | * | 5 | * |
6 | * Copyright (C) 2005 Stephen Hemminger <shemminger@osdl.org> | 6 | * Copyright (C) 2005 Stephen Hemminger <shemminger@osdl.org> |
7 | */ | 7 | */ |
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index c6560cc7a9d6..698dc7e6f309 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -634,7 +634,7 @@ static inline void drv_reset_tsf(struct ieee80211_local *local, | |||
634 | 634 | ||
635 | static inline int drv_tx_last_beacon(struct ieee80211_local *local) | 635 | static inline int drv_tx_last_beacon(struct ieee80211_local *local) |
636 | { | 636 | { |
637 | int ret = 0; /* default unsuported op for less congestion */ | 637 | int ret = 0; /* default unsupported op for less congestion */ |
638 | 638 | ||
639 | might_sleep(); | 639 | might_sleep(); |
640 | 640 | ||
diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c index 703fb26aa48d..9e312695c818 100644 --- a/net/netfilter/nf_log.c +++ b/net/netfilter/nf_log.c | |||
@@ -32,7 +32,7 @@ static struct nf_logger *__find_logger(int pf, const char *str_logger) | |||
32 | return NULL; | 32 | return NULL; |
33 | } | 33 | } |
34 | 34 | ||
35 | /* return EEXIST if the same logger is registred, 0 on success. */ | 35 | /* return EEXIST if the same logger is registered, 0 on success. */ |
36 | int nf_log_register(u_int8_t pf, struct nf_logger *logger) | 36 | int nf_log_register(u_int8_t pf, struct nf_logger *logger) |
37 | { | 37 | { |
38 | const struct nf_logger *llog; | 38 | const struct nf_logger *llog; |
diff --git a/net/rfkill/core.c b/net/rfkill/core.c index a5c952741279..9b9be5279f5d 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c | |||
@@ -676,7 +676,7 @@ static ssize_t rfkill_soft_store(struct device *dev, | |||
676 | rfkill_set_block(rfkill, state); | 676 | rfkill_set_block(rfkill, state); |
677 | mutex_unlock(&rfkill_global_mutex); | 677 | mutex_unlock(&rfkill_global_mutex); |
678 | 678 | ||
679 | return err ?: count; | 679 | return count; |
680 | } | 680 | } |
681 | 681 | ||
682 | static u8 user_state_from_blocked(unsigned long state) | 682 | static u8 user_state_from_blocked(unsigned long state) |
@@ -721,7 +721,7 @@ static ssize_t rfkill_state_store(struct device *dev, | |||
721 | rfkill_set_block(rfkill, state == RFKILL_USER_STATE_SOFT_BLOCKED); | 721 | rfkill_set_block(rfkill, state == RFKILL_USER_STATE_SOFT_BLOCKED); |
722 | mutex_unlock(&rfkill_global_mutex); | 722 | mutex_unlock(&rfkill_global_mutex); |
723 | 723 | ||
724 | return err ?: count; | 724 | return count; |
725 | } | 725 | } |
726 | 726 | ||
727 | static ssize_t rfkill_claim_show(struct device *dev, | 727 | static ssize_t rfkill_claim_show(struct device *dev, |
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 32ab55b18281..17a001bac2cc 100644 --- a/net/sctp/endpointola.c +++ b/net/sctp/endpointola.c | |||
@@ -163,7 +163,7 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, | |||
163 | 163 | ||
164 | list_add(&null_key->key_list, &ep->endpoint_shared_keys); | 164 | list_add(&null_key->key_list, &ep->endpoint_shared_keys); |
165 | 165 | ||
166 | /* Allocate and initialize transorms arrays for suported HMACs. */ | 166 | /* Allocate and initialize transorms arrays for supported HMACs. */ |
167 | err = sctp_auth_init_hmacs(ep, gfp); | 167 | err = sctp_auth_init_hmacs(ep, gfp); |
168 | if (err) | 168 | if (err) |
169 | goto nomem_hmacs; | 169 | goto nomem_hmacs; |
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index ebcd1eedb115..618ec7e216ca 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -4000,7 +4000,7 @@ static sctp_ierror_t sctp_sf_authenticate(struct net *net, | |||
4000 | chunk->subh.auth_hdr = auth_hdr; | 4000 | chunk->subh.auth_hdr = auth_hdr; |
4001 | skb_pull(chunk->skb, sizeof(struct sctp_authhdr)); | 4001 | skb_pull(chunk->skb, sizeof(struct sctp_authhdr)); |
4002 | 4002 | ||
4003 | /* Make sure that we suport the HMAC algorithm from the auth | 4003 | /* Make sure that we support the HMAC algorithm from the auth |
4004 | * chunk. | 4004 | * chunk. |
4005 | */ | 4005 | */ |
4006 | if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) | 4006 | if (!sctp_auth_asoc_verify_hmac_id(asoc, auth_hdr->hmac_id)) |