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 ...
This commit is contained in:
@@ -245,7 +245,7 @@ struct bonding {
|
||||
struct delayed_work ad_work;
|
||||
struct delayed_work mcast_work;
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
/* debugging suport via debugfs */
|
||||
/* debugging support via debugfs */
|
||||
struct dentry *debug_dir;
|
||||
#endif /* CONFIG_DEBUG_FS */
|
||||
};
|
||||
|
||||
@@ -109,7 +109,7 @@ static inline struct ax_device *to_ax_dev(struct net_device *dev)
|
||||
/*
|
||||
* ax_initial_check
|
||||
*
|
||||
* do an initial probe for the card to check wether it exists
|
||||
* do an initial probe for the card to check whether it exists
|
||||
* and is functional
|
||||
*/
|
||||
static int ax_initial_check(struct net_device *dev)
|
||||
|
||||
@@ -4318,7 +4318,7 @@ static int bnx2x_queue_comp_cmd(struct bnx2x *bp,
|
||||
|
||||
if (o->next_tx_only >= o->max_cos)
|
||||
/* >= becuase tx only must always be smaller than cos since the
|
||||
* primary connection suports COS 0
|
||||
* primary connection supports COS 0
|
||||
*/
|
||||
BNX2X_ERR("illegal value for next tx_only: %d. max cos was %d",
|
||||
o->next_tx_only, o->max_cos);
|
||||
|
||||
@@ -1671,7 +1671,7 @@ static void e1000_get_wol(struct net_device *netdev,
|
||||
/* apply any specific unsupported masks here */
|
||||
switch (hw->device_id) {
|
||||
case E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3:
|
||||
/* KSP3 does not suppport UCAST wake-ups */
|
||||
/* KSP3 does not support UCAST wake-ups */
|
||||
wol->supported &= ~WAKE_UCAST;
|
||||
|
||||
if (adapter->wol & E1000_WUFC_EX)
|
||||
|
||||
@@ -1267,7 +1267,7 @@ int mlx4_test_interrupts(struct mlx4_dev *dev)
|
||||
/* Temporary use polling for command completions */
|
||||
mlx4_cmd_use_polling(dev);
|
||||
|
||||
/* Map the new eq to handle all asyncronous events */
|
||||
/* Map the new eq to handle all asynchronous events */
|
||||
err = mlx4_MAP_EQ(dev, get_async_ev_mask(dev), 0,
|
||||
priv->eq_table.eq[i].eqn);
|
||||
if (err) {
|
||||
|
||||
@@ -6769,7 +6769,7 @@ static int stp;
|
||||
/*
|
||||
* This enables fast aging in the KSZ8842 switch. Not sure what situation
|
||||
* needs that. However, fast aging is used to flush the dynamic MAC table when
|
||||
* STP suport is enabled.
|
||||
* STP support is enabled.
|
||||
*/
|
||||
static int fast_aging;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ struct mcp_gen_header {
|
||||
*
|
||||
* Fields below this comment are extensions added in later versions
|
||||
* of this struct, drivers should compare the header_length against
|
||||
* offsetof(field) to check wether a given MCP implements them.
|
||||
* offsetof(field) to check whether a given MCP implements them.
|
||||
*
|
||||
* Never remove any field. Keep everything naturally align.
|
||||
*/
|
||||
|
||||
@@ -608,7 +608,7 @@ static int bcm5421_poll_link(struct mii_phy* phy)
|
||||
if ( mode == BCM54XX_COPPER)
|
||||
return genmii_poll_link(phy);
|
||||
|
||||
/* try to find out wether we have a link */
|
||||
/* try to find out whether we have a link */
|
||||
phy_write(phy, MII_NCONFIG, 0x2000);
|
||||
phy_reg = phy_read(phy, MII_NCONFIG);
|
||||
|
||||
@@ -634,7 +634,7 @@ static int bcm5421_read_link(struct mii_phy* phy)
|
||||
|
||||
phy->speed = SPEED_1000;
|
||||
|
||||
/* find out wether we are running half- or full duplex */
|
||||
/* find out whether we are running half- or full duplex */
|
||||
phy_write(phy, MII_NCONFIG, 0x2000);
|
||||
phy_reg = phy_read(phy, MII_NCONFIG);
|
||||
|
||||
@@ -681,7 +681,7 @@ static int bcm5461_poll_link(struct mii_phy* phy)
|
||||
if ( mode == BCM54XX_COPPER)
|
||||
return genmii_poll_link(phy);
|
||||
|
||||
/* find out wether we have a link */
|
||||
/* find out whether we have a link */
|
||||
phy_write(phy, MII_NCONFIG, 0x7000);
|
||||
phy_reg = phy_read(phy, MII_NCONFIG);
|
||||
|
||||
@@ -710,7 +710,7 @@ static int bcm5461_read_link(struct mii_phy* phy)
|
||||
|
||||
phy->speed = SPEED_1000;
|
||||
|
||||
/* find out wether we are running half- or full duplex */
|
||||
/* find out whether we are running half- or full duplex */
|
||||
phy_write(phy, MII_NCONFIG, 0x7000);
|
||||
phy_reg = phy_read(phy, MII_NCONFIG);
|
||||
|
||||
|
||||
@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val)
|
||||
result = i2400m_reset(i2400m, rt);
|
||||
if (result >= 0)
|
||||
result = 0;
|
||||
break;
|
||||
default:
|
||||
result = -EINVAL;
|
||||
}
|
||||
|
||||
@@ -2963,7 +2963,7 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc)
|
||||
ssid_el_p[1] = priv->SSID_size;
|
||||
memcpy(ssid_el_p + 2, priv->SSID, priv->SSID_size);
|
||||
ssid_el_p[2 + priv->SSID_size] = WLAN_EID_SUPP_RATES;
|
||||
ssid_el_p[3 + priv->SSID_size] = 4; /* len of suported rates */
|
||||
ssid_el_p[3 + priv->SSID_size] = 4; /* len of supported rates */
|
||||
memcpy(ssid_el_p + 4 + priv->SSID_size, atmel_basic_rates, 4);
|
||||
|
||||
atmel_transmit_management_frame(priv, &header, (void *)&body, bodysize);
|
||||
|
||||
@@ -1045,7 +1045,7 @@ typedef enum _ORDINAL_TABLE_1 { // NS - means Not Supported by FW
|
||||
IPW_ORD_POWER_MGMT_MODE, // Power mode - 0=CAM, 1=PSP
|
||||
IPW_ORD_POWER_MGMT_INDEX, //NS //
|
||||
IPW_ORD_COUNTRY_CODE, // IEEE country code as recv'd from beacon
|
||||
IPW_ORD_COUNTRY_CHANNELS, // channels suported by country
|
||||
IPW_ORD_COUNTRY_CHANNELS, // channels supported by country
|
||||
// IPW_ORD_COUNTRY_CHANNELS:
|
||||
// For 11b the lower 2-byte are used for channels from 1-14
|
||||
// and the higher 2-byte are not used.
|
||||
|
||||
@@ -1155,7 +1155,7 @@ int zd_chip_init_hw(struct zd_chip *chip)
|
||||
if (r)
|
||||
goto out;
|
||||
/* Currently we support IEEE 802.11g for full and high speed USB.
|
||||
* It might be discussed, whether we should suppport pure b mode for
|
||||
* It might be discussed, whether we should support pure b mode for
|
||||
* full speed USB.
|
||||
*/
|
||||
r = set_mandatory_rates(chip, 1);
|
||||
|
||||
Reference in New Issue
Block a user