Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits) tree-wide: fix misspelling of "definition" in comments reiserfs: fix misspelling of "journaled" doc: Fix a typo in slub.txt. inotify: remove superfluous return code check hdlc: spelling fix in find_pvc() comment doc: fix regulator docs cut-and-pasteism mtd: Fix comment in Kconfig doc: Fix IRQ chip docs tree-wide: fix assorted typos all over the place drivers/ata/libata-sff.c: comment spelling fixes fix typos/grammos in Documentation/edac.txt sysctl: add missing comments fs/debugfs/inode.c: fix comment typos sgivwfb: Make use of ARRAY_SIZE. sky2: fix sky2_link_down copy/paste comment error tree-wide: fix typos "couter" -> "counter" tree-wide: fix typos "offest" -> "offset" fix kerneldoc for set_irq_msi() spidev: fix double "of of" in comment comment typo fix: sybsystem -> subsystem ...
This commit is contained in:
@@ -78,7 +78,7 @@ static struct bnep_session *__bnep_get_session(u8 *dst)
|
||||
static void __bnep_link_session(struct bnep_session *s)
|
||||
{
|
||||
/* It's safe to call __module_get() here because sessions are added
|
||||
by the socket layer which has to hold the refference to this module.
|
||||
by the socket layer which has to hold the reference to this module.
|
||||
*/
|
||||
__module_get(THIS_MODULE);
|
||||
list_add(&s->list, &bnep_session_list);
|
||||
@@ -632,7 +632,7 @@ int bnep_del_connection(struct bnep_conndel_req *req)
|
||||
s = __bnep_get_session(req->dst);
|
||||
if (s) {
|
||||
/* Wakeup user-space which is polling for socket errors.
|
||||
* This is temporary hack untill we have shutdown in L2CAP */
|
||||
* This is temporary hack until we have shutdown in L2CAP */
|
||||
s->sock->sk->sk_err = EUNATCH;
|
||||
|
||||
/* Kill session thread */
|
||||
|
@@ -50,7 +50,7 @@ set_ect_tcp(struct sk_buff *skb, const struct ipt_ECN_info *einfo)
|
||||
struct tcphdr _tcph, *tcph;
|
||||
__be16 oldval;
|
||||
|
||||
/* Not enought header? */
|
||||
/* Not enough header? */
|
||||
tcph = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_tcph), &_tcph);
|
||||
if (!tcph)
|
||||
return false;
|
||||
|
@@ -450,10 +450,10 @@ void irlap_disconnect_request(struct irlap_cb *self)
|
||||
|
||||
/* Check if we are in the right state for disconnecting */
|
||||
switch (self->state) {
|
||||
case LAP_XMIT_P: /* FALLTROUGH */
|
||||
case LAP_XMIT_S: /* FALLTROUGH */
|
||||
case LAP_CONN: /* FALLTROUGH */
|
||||
case LAP_RESET_WAIT: /* FALLTROUGH */
|
||||
case LAP_XMIT_P: /* FALLTHROUGH */
|
||||
case LAP_XMIT_S: /* FALLTHROUGH */
|
||||
case LAP_CONN: /* FALLTHROUGH */
|
||||
case LAP_RESET_WAIT: /* FALLTHROUGH */
|
||||
case LAP_RESET_CHECK:
|
||||
irlap_do_event(self, DISCONNECT_REQUEST, NULL, NULL);
|
||||
break;
|
||||
@@ -485,9 +485,9 @@ void irlap_disconnect_indication(struct irlap_cb *self, LAP_REASON reason)
|
||||
IRDA_DEBUG(1, "%s(), Sending reset request!\n", __func__);
|
||||
irlap_do_event(self, RESET_REQUEST, NULL, NULL);
|
||||
break;
|
||||
case LAP_NO_RESPONSE: /* FALLTROUGH */
|
||||
case LAP_DISC_INDICATION: /* FALLTROUGH */
|
||||
case LAP_FOUND_NONE: /* FALLTROUGH */
|
||||
case LAP_NO_RESPONSE: /* FALLTHROUGH */
|
||||
case LAP_DISC_INDICATION: /* FALLTHROUGH */
|
||||
case LAP_FOUND_NONE: /* FALLTHROUGH */
|
||||
case LAP_MEDIA_BUSY:
|
||||
irlmp_link_disconnect_indication(self->notify.instance, self,
|
||||
reason, NULL);
|
||||
|
@@ -1741,7 +1741,7 @@ static int irlap_state_reset(struct irlap_cb *self, IRLAP_EVENT event,
|
||||
* Function irlap_state_xmit_s (event, skb, info)
|
||||
*
|
||||
* XMIT_S, The secondary station has been given the right to transmit,
|
||||
* and we therefor do not expect to receive any transmissions from other
|
||||
* and we therefore do not expect to receive any transmissions from other
|
||||
* stations.
|
||||
*/
|
||||
static int irlap_state_xmit_s(struct irlap_cb *self, IRLAP_EVENT event,
|
||||
|
@@ -105,7 +105,7 @@ int __init irlmp_init(void)
|
||||
|
||||
init_timer(&irlmp->discovery_timer);
|
||||
|
||||
/* Do discovery every 3 seconds, conditionaly */
|
||||
/* Do discovery every 3 seconds, conditionally */
|
||||
if (sysctl_discovery)
|
||||
irlmp_start_discovery_timer(irlmp,
|
||||
sysctl_discovery_timeout*HZ);
|
||||
@@ -1842,7 +1842,7 @@ LM_REASON irlmp_convert_lap_reason( LAP_REASON lap_reason)
|
||||
reason = LM_CONNECT_FAILURE;
|
||||
break;
|
||||
default:
|
||||
IRDA_DEBUG(1, "%s(), Unknow IrLAP disconnect reason %d!\n",
|
||||
IRDA_DEBUG(1, "%s(), Unknown IrLAP disconnect reason %d!\n",
|
||||
__func__, lap_reason);
|
||||
reason = LM_LAP_DISCONNECT;
|
||||
break;
|
||||
|
@@ -244,7 +244,7 @@ struct mesh_path *mesh_path_lookup_by_idx(int idx, struct ieee80211_sub_if_data
|
||||
* @addr: destination address of the path (ETH_ALEN length)
|
||||
* @sdata: local subif
|
||||
*
|
||||
* Returns: 0 on sucess
|
||||
* Returns: 0 on success
|
||||
*
|
||||
* State: the initial state of the new path is set to 0
|
||||
*/
|
||||
@@ -532,7 +532,7 @@ static void mesh_path_node_reclaim(struct rcu_head *rp)
|
||||
* @addr: dst address (ETH_ALEN length)
|
||||
* @sdata: local subif
|
||||
*
|
||||
* Returns: 0 if succesful
|
||||
* Returns: 0 if successful
|
||||
*/
|
||||
int mesh_path_del(u8 *addr, struct ieee80211_sub_if_data *sdata)
|
||||
{
|
||||
|
@@ -682,7 +682,7 @@ struct netlbl_domaddr6_map *netlbl_domhsh_getentry_af6(const char *domain,
|
||||
* buckets and @skip_chain entries. For each entry in the table call
|
||||
* @callback, if @callback returns a negative value stop 'walking' through the
|
||||
* table and return. Updates the values in @skip_bkt and @skip_chain on
|
||||
* return. Returns zero on succcess, negative values on failure.
|
||||
* return. Returns zero on success, negative values on failure.
|
||||
*
|
||||
*/
|
||||
int netlbl_domhsh_walk(u32 *skip_bkt,
|
||||
|
@@ -598,7 +598,7 @@ int tcf_action_copy_stats(struct sk_buff *skb, struct tc_action *a,
|
||||
goto errout;
|
||||
|
||||
/* compat_mode being true specifies a call that is supposed
|
||||
* to add additional backward compatiblity statistic TLVs.
|
||||
* to add additional backward compatibility statistic TLVs.
|
||||
*/
|
||||
if (compat_mode) {
|
||||
if (a->type == TCA_OLD_COMPAT)
|
||||
|
@@ -717,7 +717,7 @@ static void sctp_cmd_new_state(sctp_cmd_seq_t *cmds,
|
||||
|
||||
if (sctp_style(sk, TCP)) {
|
||||
/* Change the sk->sk_state of a TCP-style socket that has
|
||||
* sucessfully completed a connect() call.
|
||||
* successfully completed a connect() call.
|
||||
*/
|
||||
if (sctp_state(asoc, ESTABLISHED) && sctp_sstate(sk, CLOSED))
|
||||
sk->sk_state = SCTP_SS_ESTABLISHED;
|
||||
|
@@ -3577,7 +3577,7 @@ sctp_disposition_t sctp_sf_do_asconf(const struct sctp_endpoint *ep,
|
||||
* To do this properly, we'll set the destination address of the chunk
|
||||
* and at the transmit time, will try look up the transport to use.
|
||||
* Since ASCONFs may be bundled, the correct transport may not be
|
||||
* created untill we process the entire packet, thus this workaround.
|
||||
* created until we process the entire packet, thus this workaround.
|
||||
*/
|
||||
asconf_ack->dest = chunk->source;
|
||||
sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack));
|
||||
|
@@ -54,7 +54,7 @@
|
||||
* Assumptions:
|
||||
* - head[0] is physically contiguous.
|
||||
* - tail[0] is physically contiguous.
|
||||
* - pages[] is not physically or virtually contigous and consists of
|
||||
* - pages[] is not physically or virtually contiguous and consists of
|
||||
* PAGE_SIZE elements.
|
||||
*
|
||||
* Output:
|
||||
|
@@ -62,7 +62,7 @@
|
||||
* Called when wanting to reset the device for any reason. Device is
|
||||
* taken back to power on status.
|
||||
*
|
||||
* This call blocks; on succesful return, the device has completed the
|
||||
* This call blocks; on successful return, the device has completed the
|
||||
* reset process and is ready to operate.
|
||||
*/
|
||||
int wimax_reset(struct wimax_dev *wimax_dev)
|
||||
|
Reference in New Issue
Block a user