Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial

Pull trivial tree from Jiri Kosina:
 "Usual trivial tree updates.  Nothing outstanding -- mostly printk()
  and comment fixes and unused identifier removals"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
  goldfish: goldfish_tty_probe() is not using 'i' any more
  powerpc: Fix comment in smu.h
  qla2xxx: Fix printks in ql_log message
  lib: correct link to the original source for div64_u64
  si2168, tda10071, m88ds3103: Fix firmware wording
  usb: storage: Fix printk in isd200_log_config()
  qla2xxx: Fix printk in qla25xx_setup_mode
  init/main: fix reset_device comment
  ipwireless: missing assignment
  goldfish: remove unreachable line of code
  coredump: Fix do_coredump() comment
  stacktrace.h: remove duplicate declaration task_struct
  smpboot.h: Remove unused function prototype
  treewide: Fix typo in printk messages
  treewide: Fix typo in printk messages
  mod_devicetable: fix comment for match_flags
tirimbino
Linus Torvalds 10 years ago
commit d0bbe0dd35
  1. 2
      arch/arc/kernel/unwind.c
  2. 2
      arch/powerpc/include/asm/smu.h
  3. 2
      arch/powerpc/kernel/prom.c
  4. 2
      arch/powerpc/perf/hv-24x7.c
  5. 4
      arch/powerpc/platforms/85xx/p1022_rdk.c
  6. 2
      arch/x86/kernel/test_rodata.c
  7. 2
      drivers/iio/adc/max1027.c
  8. 2
      drivers/isdn/hardware/mISDN/mISDNinfineon.c
  9. 2
      drivers/isdn/mISDN/dsp_cmx.c
  10. 4
      drivers/isdn/mISDN/dsp_core.c
  11. 2
      drivers/media/dvb-frontends/m88ds3103.c
  12. 2
      drivers/media/dvb-frontends/si2168_priv.h
  13. 2
      drivers/media/dvb-frontends/tda10071_priv.h
  14. 2
      drivers/media/tuners/msi001.c
  15. 2
      drivers/mfd/si476x-i2c.c
  16. 4
      drivers/mmc/core/mmc.c
  17. 4
      drivers/mmc/core/sd.c
  18. 2
      drivers/mtd/nand/gpmi-nand/gpmi-lib.c
  19. 2
      drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
  20. 2
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
  21. 2
      drivers/net/phy/dp83640.c
  22. 4
      drivers/net/wireless/airo.c
  23. 2
      drivers/net/wireless/ath/ath10k/mac.c
  24. 2
      drivers/net/wireless/ath/wcn36xx/smd.c
  25. 2
      drivers/net/wireless/rtlwifi/rtl8723be/dm.c
  26. 2
      drivers/net/wireless/rtlwifi/rtl8821ae/dm.c
  27. 2
      drivers/parisc/eisa_enumerator.c
  28. 2
      drivers/pinctrl/nomadik/pinctrl-abx500.c
  29. 2
      drivers/scsi/be2iscsi/be_cmds.c
  30. 2
      drivers/scsi/ch.c
  31. 2
      drivers/scsi/osd/osd_initiator.c
  32. 4
      drivers/scsi/qla2xxx/qla_init.c
  33. 2
      drivers/scsi/qla2xxx/qla_mid.c
  34. 2
      drivers/scsi/qla2xxx/qla_nx.c
  35. 8
      drivers/scsi/qla2xxx/qla_os.c
  36. 2
      drivers/tty/goldfish.c
  37. 2
      drivers/tty/ipwireless/hardware.c
  38. 2
      fs/jffs2/xattr.c
  39. 1
      include/linux/smpboot.h
  40. 2
      include/linux/stacktrace.h
  41. 2
      init/main.c
  42. 2
      lib/div64.c
  43. 2
      net/atm/mpoa_proc.c
  44. 4
      net/sunrpc/xprtrdma/verbs.c
  45. 4
      sound/soc/soc-core.c
  46. 2
      tools/perf/util/probe-finder.c

@ -841,7 +841,7 @@ static int processCFI(const u8 *start, const u8 *end, unsigned long targetLoc,
break; break;
case DW_CFA_GNU_window_save: case DW_CFA_GNU_window_save:
default: default:
unw_debug("UNKNOW OPCODE 0x%x\n", opcode); unw_debug("UNKNOWN OPCODE 0x%x\n", opcode);
result = 0; result = 0;
break; break;
} }

@ -478,7 +478,7 @@ extern unsigned long smu_cmdbuf_abs;
/* /*
* Kenrel asynchronous i2c interface * Kernel asynchronous i2c interface
*/ */
#define SMU_I2C_READ_MAX 0x1d #define SMU_I2C_READ_MAX 0x1d

@ -721,7 +721,7 @@ void __init early_init_devtree(void *params)
*/ */
of_scan_flat_dt(early_init_dt_scan_cpus, NULL); of_scan_flat_dt(early_init_dt_scan_cpus, NULL);
if (boot_cpuid < 0) { if (boot_cpuid < 0) {
printk("Failed to indentify boot CPU !\n"); printk("Failed to identify boot CPU !\n");
BUG(); BUG();
} }

@ -1126,7 +1126,7 @@ static int h_24x7_event_init(struct perf_event *event)
/* Physical domains & other lpars require extra capabilities */ /* Physical domains & other lpars require extra capabilities */
if (!caps.collect_privileged && (is_physical_domain(domain) || if (!caps.collect_privileged && (is_physical_domain(domain) ||
(event_get_lpar(event) != event_get_lpar_max()))) { (event_get_lpar(event) != event_get_lpar_max()))) {
pr_devel("hv permisions disallow: is_physical_domain:%d, lpar=0x%llx\n", pr_devel("hv permissions disallow: is_physical_domain:%d, lpar=0x%llx\n",
is_physical_domain(domain), is_physical_domain(domain),
event_get_lpar(event)); event_get_lpar(event));
return -EACCES; return -EACCES;

@ -50,14 +50,14 @@ void p1022rdk_set_pixel_clock(unsigned int pixclock)
/* Map the global utilities registers. */ /* Map the global utilities registers. */
guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts"); guts_np = of_find_compatible_node(NULL, NULL, "fsl,p1022-guts");
if (!guts_np) { if (!guts_np) {
pr_err("p1022rdk: missing global utilties device node\n"); pr_err("p1022rdk: missing global utilities device node\n");
return; return;
} }
guts = of_iomap(guts_np, 0); guts = of_iomap(guts_np, 0);
of_node_put(guts_np); of_node_put(guts_np);
if (!guts) { if (!guts) {
pr_err("p1022rdk: could not map global utilties device\n"); pr_err("p1022rdk: could not map global utilities device\n");
return; return;
} }

@ -57,7 +57,7 @@ int rodata_test(void)
/* test 3: check the value hasn't changed */ /* test 3: check the value hasn't changed */
/* If this test fails, we managed to overwrite the data */ /* If this test fails, we managed to overwrite the data */
if (!rodata_test_data) { if (!rodata_test_data) {
printk(KERN_ERR "rodata_test: Test 3 failes (end data)\n"); printk(KERN_ERR "rodata_test: Test 3 fails (end data)\n");
return -ENODEV; return -ENODEV;
} }
/* test 4: check if the rodata section is 4Kb aligned */ /* test 4: check if the rodata section is 4Kb aligned */

@ -436,7 +436,7 @@ static int max1027_probe(struct spi_device *spi)
indio_dev->num_channels * 2, indio_dev->num_channels * 2,
GFP_KERNEL); GFP_KERNEL);
if (st->buffer == NULL) { if (st->buffer == NULL) {
dev_err(&indio_dev->dev, "Can't allocate bufffer\n"); dev_err(&indio_dev->dev, "Can't allocate buffer\n");
return -ENOMEM; return -ENOMEM;
} }

@ -1092,7 +1092,7 @@ inf_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
} }
card->ci = get_card_info(ent->driver_data); card->ci = get_card_info(ent->driver_data);
if (!card->ci) { if (!card->ci) {
pr_info("mISDN: do not have informations about adapter at %s\n", pr_info("mISDN: do not have information about adapter at %s\n",
pci_name(pdev)); pci_name(pdev));
kfree(card); kfree(card);
pci_disable_device(pdev); pci_disable_device(pdev);

@ -295,7 +295,7 @@ dsp_cmx_del_conf_member(struct dsp *dsp)
} }
} }
printk(KERN_WARNING printk(KERN_WARNING
"%s: dsp is not present in its own conf_meber list.\n", "%s: dsp is not present in its own conf_member list.\n",
__func__); __func__);
return -EINVAL; return -EINVAL;

@ -460,7 +460,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
} }
if (dsp_debug & DEBUG_DSP_CORE) if (dsp_debug & DEBUG_DSP_CORE)
printk(KERN_DEBUG "%s: enable mixing of " printk(KERN_DEBUG "%s: enable mixing of "
"tx-data with conf mebers\n", __func__); "tx-data with conf members\n", __func__);
dsp->tx_mix = 1; dsp->tx_mix = 1;
dsp_cmx_hardware(dsp->conf, dsp); dsp_cmx_hardware(dsp->conf, dsp);
dsp_rx_off(dsp); dsp_rx_off(dsp);
@ -474,7 +474,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
} }
if (dsp_debug & DEBUG_DSP_CORE) if (dsp_debug & DEBUG_DSP_CORE)
printk(KERN_DEBUG "%s: disable mixing of " printk(KERN_DEBUG "%s: disable mixing of "
"tx-data with conf mebers\n", __func__); "tx-data with conf members\n", __func__);
dsp->tx_mix = 0; dsp->tx_mix = 0;
dsp_cmx_hardware(dsp->conf, dsp); dsp_cmx_hardware(dsp->conf, dsp);
dsp_rx_off(dsp); dsp_rx_off(dsp);

@ -630,7 +630,7 @@ static int m88ds3103_init(struct dvb_frontend *fe)
/* request the firmware, this will block and timeout */ /* request the firmware, this will block and timeout */
ret = request_firmware(&fw, fw_file, priv->i2c->dev.parent); ret = request_firmware(&fw, fw_file, priv->i2c->dev.parent);
if (ret) { if (ret) {
dev_err(&priv->i2c->dev, "%s: firmare file '%s' not found\n", dev_err(&priv->i2c->dev, "%s: firmware file '%s' not found\n",
KBUILD_MODNAME, fw_file); KBUILD_MODNAME, fw_file);
goto err; goto err;
} }

@ -40,7 +40,7 @@ struct si2168_dev {
bool ts_clock_inv; bool ts_clock_inv;
}; };
/* firmare command struct */ /* firmware command struct */
#define SI2168_ARGLEN 30 #define SI2168_ARGLEN 30
struct si2168_cmd { struct si2168_cmd {
u8 args[SI2168_ARGLEN]; u8 args[SI2168_ARGLEN];

@ -99,7 +99,7 @@ struct tda10071_reg_val_mask {
#define CMD_BER_CONTROL 0x3e #define CMD_BER_CONTROL 0x3e
#define CMD_BER_UPDATE_COUNTERS 0x3f #define CMD_BER_UPDATE_COUNTERS 0x3f
/* firmare command struct */ /* firmware command struct */
#define TDA10071_ARGLEN 30 #define TDA10071_ARGLEN 30
struct tda10071_cmd { struct tda10071_cmd {
u8 args[TDA10071_ARGLEN]; u8 args[TDA10071_ARGLEN];

@ -408,7 +408,7 @@ static int msi001_s_ctrl(struct v4l2_ctrl *ctrl)
s->mixer_gain->cur.val, s->if_gain->val); s->mixer_gain->cur.val, s->if_gain->val);
break; break;
default: default:
dev_dbg(&s->spi->dev, "unkown control %d\n", ctrl->id); dev_dbg(&s->spi->dev, "unknown control %d\n", ctrl->id);
ret = -EINVAL; ret = -EINVAL;
} }

@ -766,7 +766,7 @@ static int si476x_core_probe(struct i2c_client *client,
sizeof(struct v4l2_rds_data), sizeof(struct v4l2_rds_data),
GFP_KERNEL); GFP_KERNEL);
if (rval) { if (rval) {
dev_err(&client->dev, "Could not alloate the FIFO\n"); dev_err(&client->dev, "Could not allocate the FIFO\n");
goto free_gpio; goto free_gpio;
} }
mutex_init(&core->rds_drainer_status_lock); mutex_init(&core->rds_drainer_status_lock);

@ -1758,7 +1758,7 @@ static int mmc_runtime_suspend(struct mmc_host *host)
err = _mmc_suspend(host, true); err = _mmc_suspend(host, true);
if (err) if (err)
pr_err("%s: error %d doing aggessive suspend\n", pr_err("%s: error %d doing aggressive suspend\n",
mmc_hostname(host), err); mmc_hostname(host), err);
return err; return err;
@ -1776,7 +1776,7 @@ static int mmc_runtime_resume(struct mmc_host *host)
err = _mmc_resume(host); err = _mmc_resume(host);
if (err) if (err)
pr_err("%s: error %d doing aggessive resume\n", pr_err("%s: error %d doing aggressive resume\n",
mmc_hostname(host), err); mmc_hostname(host), err);
return 0; return 0;

@ -1157,7 +1157,7 @@ static int mmc_sd_runtime_suspend(struct mmc_host *host)
err = _mmc_sd_suspend(host); err = _mmc_sd_suspend(host);
if (err) if (err)
pr_err("%s: error %d doing aggessive suspend\n", pr_err("%s: error %d doing aggressive suspend\n",
mmc_hostname(host), err); mmc_hostname(host), err);
return err; return err;
@ -1175,7 +1175,7 @@ static int mmc_sd_runtime_resume(struct mmc_host *host)
err = _mmc_sd_resume(host); err = _mmc_sd_resume(host);
if (err) if (err)
pr_err("%s: error %d doing aggessive resume\n", pr_err("%s: error %d doing aggressive resume\n",
mmc_hostname(host), err); mmc_hostname(host), err);
return 0; return 0;

@ -1105,7 +1105,7 @@ int gpmi_is_ready(struct gpmi_nand_data *this, unsigned chip)
mask = MX28_BF_GPMI_STAT_READY_BUSY(1 << chip); mask = MX28_BF_GPMI_STAT_READY_BUSY(1 << chip);
reg = readl(r->gpmi_regs + HW_GPMI_STAT); reg = readl(r->gpmi_regs + HW_GPMI_STAT);
} else } else
dev_err(this->dev, "unknow arch.\n"); dev_err(this->dev, "unknown arch.\n");
return reg & mask; return reg & mask;
} }

@ -592,7 +592,7 @@ int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf,
mc = kzalloc(mc_num * sizeof(struct bnx2x_mcast_list_elem), mc = kzalloc(mc_num * sizeof(struct bnx2x_mcast_list_elem),
GFP_KERNEL); GFP_KERNEL);
if (!mc) { if (!mc) {
BNX2X_ERR("Cannot Configure mulicasts due to lack of memory\n"); BNX2X_ERR("Cannot Configure multicasts due to lack of memory\n");
return -ENOMEM; return -ENOMEM;
} }
} }

@ -818,7 +818,7 @@ int qlcnic_82xx_config_intr_coalesce(struct qlcnic_adapter *adapter,
if (rv) if (rv)
netdev_err(adapter->netdev, netdev_err(adapter->netdev,
"Failed to set Rx coalescing parametrs\n"); "Failed to set Rx coalescing parameters\n");
return rv; return rv;
} }

@ -614,7 +614,7 @@ static void recalibrate(struct dp83640_clock *clock)
trigger = CAL_TRIGGER; trigger = CAL_TRIGGER;
cal_gpio = 1 + ptp_find_pin(clock->ptp_clock, PTP_PF_PHYSYNC, 0); cal_gpio = 1 + ptp_find_pin(clock->ptp_clock, PTP_PF_PHYSYNC, 0);
if (cal_gpio < 1) { if (cal_gpio < 1) {
pr_err("PHY calibration pin not avaible - PHY is not calibrated."); pr_err("PHY calibration pin not available - PHY is not calibrated.");
return; return;
} }

@ -3211,7 +3211,7 @@ static void airo_print_status(const char *devname, u16 status)
airo_print_dbg(devname, "link lost (TSF sync lost)"); airo_print_dbg(devname, "link lost (TSF sync lost)");
break; break;
default: default:
airo_print_dbg(devname, "unknow status %x\n", status); airo_print_dbg(devname, "unknown status %x\n", status);
break; break;
} }
break; break;
@ -3233,7 +3233,7 @@ static void airo_print_status(const char *devname, u16 status)
case STAT_REASSOC: case STAT_REASSOC:
break; break;
default: default:
airo_print_dbg(devname, "unknow status %x\n", status); airo_print_dbg(devname, "unknown status %x\n", status);
break; break;
} }
} }

@ -4857,7 +4857,7 @@ static void ath10k_sta_rc_update(struct ieee80211_hw *hw,
bw = WMI_PEER_CHWIDTH_80MHZ; bw = WMI_PEER_CHWIDTH_80MHZ;
break; break;
case IEEE80211_STA_RX_BW_160: case IEEE80211_STA_RX_BW_160:
ath10k_warn(ar, "Invalid bandwith %d in rc update for %pM\n", ath10k_warn(ar, "Invalid bandwidth %d in rc update for %pM\n",
sta->bandwidth, sta->addr); sta->bandwidth, sta->addr);
bw = WMI_PEER_CHWIDTH_20MHZ; bw = WMI_PEER_CHWIDTH_20MHZ;
break; break;

@ -1701,7 +1701,7 @@ int wcn36xx_smd_keep_alive_req(struct wcn36xx *wcn,
} else if (packet_type == WCN36XX_HAL_KEEP_ALIVE_UNSOLICIT_ARP_RSP) { } else if (packet_type == WCN36XX_HAL_KEEP_ALIVE_UNSOLICIT_ARP_RSP) {
/* TODO: it also support ARP response type */ /* TODO: it also support ARP response type */
} else { } else {
wcn36xx_warn("unknow keep alive packet type %d\n", packet_type); wcn36xx_warn("unknown keep alive packet type %d\n", packet_type);
ret = -EINVAL; ret = -EINVAL;
goto out; goto out;
} }

@ -309,7 +309,7 @@ static void rtl8723be_dm_find_minimum_rssi(struct ieee80211_hw *hw)
rtl_dm_dig->min_undec_pwdb_for_dm = rtl_dm_dig->min_undec_pwdb_for_dm =
rtlpriv->dm.entry_min_undec_sm_pwdb; rtlpriv->dm.entry_min_undec_sm_pwdb;
RT_TRACE(rtlpriv, COMP_BB_POWERSAVING, DBG_LOUD, RT_TRACE(rtlpriv, COMP_BB_POWERSAVING, DBG_LOUD,
"AP Ext Port or disconnet PWDB = 0x%x\n", "AP Ext Port or disconnect PWDB = 0x%x\n",
rtl_dm_dig->min_undec_pwdb_for_dm); rtl_dm_dig->min_undec_pwdb_for_dm);
} }
RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD, "MinUndecoratedPWDBForDM =%d\n", RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD, "MinUndecoratedPWDBForDM =%d\n",

@ -873,7 +873,7 @@ static void rtl8821ae_dm_dig(struct ieee80211_hw *hw)
if (rtlpriv->falsealm_cnt.cnt_all > 10000) { if (rtlpriv->falsealm_cnt.cnt_all > 10000) {
RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD, RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
"Abnornally false alarm case.\n"); "Abnormally false alarm case.\n");
if (dm_digtable->large_fa_hit != 3) if (dm_digtable->large_fa_hit != 3)
dm_digtable->large_fa_hit++; dm_digtable->large_fa_hit++;

@ -357,7 +357,7 @@ static int parse_slot_config(int slot,
} }
if (flags & HPEE_FUNCTION_INFO_CFG_FREE_FORM) { if (flags & HPEE_FUNCTION_INFO_CFG_FREE_FORM) {
/* I have no idea how to handle this */ /* I have no idea how to handle this */
printk("function %d have free-form confgiuration, skipping ", printk("function %d have free-form configuration, skipping ",
num_func); num_func);
pos = p0 + function_len; pos = p0 + function_len;
continue; continue;

@ -466,7 +466,7 @@ static int abx500_set_mode(struct pinctrl_dev *pctldev, struct gpio_chip *chip,
break; break;
default: default:
dev_dbg(pct->dev, "unknow alt_setting %d\n", alt_setting); dev_dbg(pct->dev, "unknown alt_setting %d\n", alt_setting);
return -EINVAL; return -EINVAL;
} }

@ -237,7 +237,7 @@ int beiscsi_mccq_compl(struct beiscsi_hba *phba,
beiscsi_log(phba, KERN_WARNING, beiscsi_log(phba, KERN_WARNING,
BEISCSI_LOG_INIT | BEISCSI_LOG_EH | BEISCSI_LOG_INIT | BEISCSI_LOG_EH |
BEISCSI_LOG_CONFIG, BEISCSI_LOG_CONFIG,
"BC_%d : Insufficent Buffer Error " "BC_%d : Insufficient Buffer Error "
"Resp_Len : %d Actual_Resp_Len : %d\n", "Resp_Len : %d Actual_Resp_Len : %d\n",
mbx_resp_hdr->response_length, mbx_resp_hdr->response_length,
mbx_resp_hdr->actual_resp_len); mbx_resp_hdr->actual_resp_len);

@ -339,7 +339,7 @@ ch_readconfig(scsi_changer *ch)
ch->firsts[CHET_DT], ch->firsts[CHET_DT],
ch->counts[CHET_DT]); ch->counts[CHET_DT]);
} else { } else {
VPRINTK(KERN_INFO, "reading element address assigment page failed!\n"); VPRINTK(KERN_INFO, "reading element address assignment page failed!\n");
} }
/* vendor specific element types */ /* vendor specific element types */

@ -186,7 +186,7 @@ static int _osd_get_print_system_info(struct osd_dev *od,
if (unlikely(len > sizeof(odi->systemid))) { if (unlikely(len > sizeof(odi->systemid))) {
OSD_ERR("OSD Target error: OSD_SYSTEM_ID too long(%d). " OSD_ERR("OSD Target error: OSD_SYSTEM_ID too long(%d). "
"device idetification might not work\n", len); "device identification might not work\n", len);
len = sizeof(odi->systemid); len = sizeof(odi->systemid);
} }
odi->systemid_len = len; odi->systemid_len = len;

@ -5364,7 +5364,7 @@ qla2x00_load_risc(scsi_qla_host_t *vha, uint32_t *srisc_addr)
blob = qla2x00_request_firmware(vha); blob = qla2x00_request_firmware(vha);
if (!blob) { if (!blob) {
ql_log(ql_log_info, vha, 0x0083, ql_log(ql_log_info, vha, 0x0083,
"Fimware image unavailable.\n"); "Firmware image unavailable.\n");
ql_log(ql_log_info, vha, 0x0084, ql_log(ql_log_info, vha, 0x0084,
"Firmware images can be retrieved from: "QLA_FW_URL ".\n"); "Firmware images can be retrieved from: "QLA_FW_URL ".\n");
return QLA_FUNCTION_FAILED; return QLA_FUNCTION_FAILED;
@ -5467,7 +5467,7 @@ qla24xx_load_risc_blob(scsi_qla_host_t *vha, uint32_t *srisc_addr)
blob = qla2x00_request_firmware(vha); blob = qla2x00_request_firmware(vha);
if (!blob) { if (!blob) {
ql_log(ql_log_warn, vha, 0x0090, ql_log(ql_log_warn, vha, 0x0090,
"Fimware image unavailable.\n"); "Firmware image unavailable.\n");
ql_log(ql_log_warn, vha, 0x0091, ql_log(ql_log_warn, vha, 0x0091,
"Firmware images can be retrieved from: " "Firmware images can be retrieved from: "
QLA_FW_URL ".\n"); QLA_FW_URL ".\n");

@ -788,7 +788,7 @@ qla25xx_create_rsp_que(struct qla_hw_data *ha, uint16_t options,
rsp->msix = &ha->msix_entries[que_id + 1]; rsp->msix = &ha->msix_entries[que_id + 1];
else else
ql_log(ql_log_warn, base_vha, 0x00e3, ql_log(ql_log_warn, base_vha, 0x00e3,
"MSIX not enalbled.\n"); "MSIX not enabled.\n");
ha->rsp_q_map[que_id] = rsp; ha->rsp_q_map[que_id] = rsp;
rsp->rid = rid; rsp->rid = rid;

@ -1274,7 +1274,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha)
if (off == ADDR_ERROR) { if (off == ADDR_ERROR) {
ql_log(ql_log_fatal, vha, 0x0116, ql_log(ql_log_fatal, vha, 0x0116,
"Unknow addr: 0x%08lx.\n", buf[i].addr); "Unknown addr: 0x%08lx.\n", buf[i].addr);
continue; continue;
} }

@ -446,11 +446,11 @@ static int qla25xx_setup_mode(struct scsi_qla_host *vha)
} }
ha->flags.cpu_affinity_enabled = 1; ha->flags.cpu_affinity_enabled = 1;
ql_dbg(ql_dbg_multiq, vha, 0xc007, ql_dbg(ql_dbg_multiq, vha, 0xc007,
"CPU affinity mode enalbed, " "CPU affinity mode enabled, "
"no. of response queues:%d no. of request queues:%d.\n", "no. of response queues:%d no. of request queues:%d.\n",
ha->max_rsp_queues, ha->max_req_queues); ha->max_rsp_queues, ha->max_req_queues);
ql_dbg(ql_dbg_init, vha, 0x00e9, ql_dbg(ql_dbg_init, vha, 0x00e9,
"CPU affinity mode enalbed, " "CPU affinity mode enabled, "
"no. of response queues:%d no. of request queues:%d.\n", "no. of response queues:%d no. of request queues:%d.\n",
ha->max_rsp_queues, ha->max_req_queues); ha->max_rsp_queues, ha->max_req_queues);
} }
@ -4102,7 +4102,7 @@ qla83xx_schedule_work(scsi_qla_host_t *base_vha, int work_code)
break; break;
default: default:
ql_log(ql_log_warn, base_vha, 0xb05f, ql_log(ql_log_warn, base_vha, 0xb05f,
"Unknow work-code=0x%x.\n", work_code); "Unknown work-code=0x%x.\n", work_code);
} }
return; return;
@ -4702,7 +4702,7 @@ qla83xx_idc_state_handler(scsi_qla_host_t *base_vha)
break; break;
default: default:
ql_log(ql_log_warn, base_vha, 0xb071, ql_log(ql_log_warn, base_vha, 0xb071,
"Unknow Device State: %x.\n", dev_state); "Unknown Device State: %x.\n", dev_state);
qla83xx_idc_unlock(base_vha, 0); qla83xx_idc_unlock(base_vha, 0);
qla8xxx_dev_failed_handler(base_vha); qla8xxx_dev_failed_handler(base_vha);
rval = QLA_FUNCTION_FAILED; rval = QLA_FUNCTION_FAILED;

@ -229,7 +229,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
{ {
struct goldfish_tty *qtty; struct goldfish_tty *qtty;
int ret = -EINVAL; int ret = -EINVAL;
int i;
struct resource *r; struct resource *r;
struct device *ttydev; struct device *ttydev;
void __iomem *base; void __iomem *base;
@ -293,7 +292,6 @@ static int goldfish_tty_probe(struct platform_device *pdev)
mutex_unlock(&goldfish_tty_lock); mutex_unlock(&goldfish_tty_lock);
return 0; return 0;
tty_unregister_device(goldfish_tty_driver, i);
err_tty_register_device_failed: err_tty_register_device_failed:
free_irq(irq, pdev); free_irq(irq, pdev);
err_request_irq_failed: err_request_irq_failed:

@ -1455,7 +1455,7 @@ static void __handle_setup_get_version_rsp(struct ipw_hardware *hw)
return; return;
} }
set_RTS(hw, PRIO_SETUP, channel_idx, ret = set_RTS(hw, PRIO_SETUP, channel_idx,
(hw->control_lines [channel_idx] & (hw->control_lines [channel_idx] &
IPW_CONTROL_LINE_RTS) != 0); IPW_CONTROL_LINE_RTS) != 0);
if (ret) { if (ret) {

@ -195,7 +195,7 @@ static int do_verify_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_dat
/* unchecked xdatum is chained with c->xattr_unchecked */ /* unchecked xdatum is chained with c->xattr_unchecked */
list_del_init(&xd->xindex); list_del_init(&xd->xindex);
dbg_xattr("success on verfying xdatum (xid=%u, version=%u)\n", dbg_xattr("success on verifying xdatum (xid=%u, version=%u)\n",
xd->xid, xd->version); xd->xid, xd->version);
return 0; return 0;

@ -47,6 +47,5 @@ struct smp_hotplug_thread {
int smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread); int smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread);
void smpboot_unregister_percpu_thread(struct smp_hotplug_thread *plug_thread); void smpboot_unregister_percpu_thread(struct smp_hotplug_thread *plug_thread);
int smpboot_thread_schedule(void);
#endif #endif

@ -7,8 +7,6 @@ struct task_struct;
struct pt_regs; struct pt_regs;
#ifdef CONFIG_STACKTRACE #ifdef CONFIG_STACKTRACE
struct task_struct;
struct stack_trace { struct stack_trace {
unsigned int nr_entries, max_entries; unsigned int nr_entries, max_entries;
unsigned long *entries; unsigned long *entries;

@ -143,7 +143,7 @@ EXPORT_SYMBOL_GPL(static_key_initialized);
* rely on the BIOS and skip the reset operation. * rely on the BIOS and skip the reset operation.
* *
* This is useful if kernel is booting in an unreliable environment. * This is useful if kernel is booting in an unreliable environment.
* For ex. kdump situaiton where previous kernel has crashed, BIOS has been * For ex. kdump situation where previous kernel has crashed, BIOS has been
* skipped and devices will be in unknown state. * skipped and devices will be in unknown state.
*/ */
unsigned int reset_devices; unsigned int reset_devices;

@ -127,7 +127,7 @@ EXPORT_SYMBOL(div64_u64_rem);
* by the book 'Hacker's Delight'. The original source and full proof * by the book 'Hacker's Delight'. The original source and full proof
* can be found here and is available for use without restriction. * can be found here and is available for use without restriction.
* *
* 'http://www.hackersdelight.org/HDcode/newCode/divDouble.c.txt' * 'http://www.hackersdelight.org/hdcodetxt/divDouble.c.txt'
*/ */
#ifndef div64_u64 #ifndef div64_u64
u64 div64_u64(u64 dividend, u64 divisor) u64 div64_u64(u64 dividend, u64 divisor)

@ -272,7 +272,7 @@ static int parse_qos(const char *buff)
qos.rxtp.max_pcr = rx_pcr; qos.rxtp.max_pcr = rx_pcr;
qos.rxtp.max_sdu = rx_sdu; qos.rxtp.max_sdu = rx_sdu;
qos.aal = ATM_AAL5; qos.aal = ATM_AAL5;
dprintk("parse_qos(): setting qos paramameters to tx=%d,%d rx=%d,%d\n", dprintk("parse_qos(): setting qos parameters to tx=%d,%d rx=%d,%d\n",
qos.txtp.max_pcr, qos.txtp.max_sdu, qos.txtp.max_pcr, qos.txtp.max_sdu,
qos.rxtp.max_pcr, qos.rxtp.max_sdu); qos.rxtp.max_pcr, qos.rxtp.max_sdu);

@ -1136,7 +1136,7 @@ rpcrdma_init_fmrs(struct rpcrdma_ia *ia, struct rpcrdma_buffer *buf)
int i, rc; int i, rc;
i = (buf->rb_max_requests + 1) * RPCRDMA_MAX_SEGS; i = (buf->rb_max_requests + 1) * RPCRDMA_MAX_SEGS;
dprintk("RPC: %s: initalizing %d FMRs\n", __func__, i); dprintk("RPC: %s: initializing %d FMRs\n", __func__, i);
while (i--) { while (i--) {
r = kzalloc(sizeof(*r), GFP_KERNEL); r = kzalloc(sizeof(*r), GFP_KERNEL);
@ -1169,7 +1169,7 @@ rpcrdma_init_frmrs(struct rpcrdma_ia *ia, struct rpcrdma_buffer *buf)
int i, rc; int i, rc;
i = (buf->rb_max_requests + 1) * RPCRDMA_MAX_SEGS; i = (buf->rb_max_requests + 1) * RPCRDMA_MAX_SEGS;
dprintk("RPC: %s: initalizing %d FRMRs\n", __func__, i); dprintk("RPC: %s: initializing %d FRMRs\n", __func__, i);
while (i--) { while (i--) {
r = kzalloc(sizeof(*r), GFP_KERNEL); r = kzalloc(sizeof(*r), GFP_KERNEL);

@ -2755,7 +2755,7 @@ int snd_soc_register_component(struct device *dev,
ret = snd_soc_register_dais(cmpnt, dai_drv, num_dai, true); ret = snd_soc_register_dais(cmpnt, dai_drv, num_dai, true);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "ASoC: Failed to regster DAIs: %d\n", ret); dev_err(dev, "ASoC: Failed to register DAIs: %d\n", ret);
goto err_cleanup; goto err_cleanup;
} }
@ -3076,7 +3076,7 @@ int snd_soc_register_codec(struct device *dev,
ret = snd_soc_register_dais(&codec->component, dai_drv, num_dai, false); ret = snd_soc_register_dais(&codec->component, dai_drv, num_dai, false);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "ASoC: Failed to regster DAIs: %d\n", ret); dev_err(dev, "ASoC: Failed to register DAIs: %d\n", ret);
goto err_cleanup; goto err_cleanup;
} }

@ -456,7 +456,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
return -EINVAL; return -EINVAL;
} }
if (field->name[0] == '[') { if (field->name[0] == '[') {
pr_err("Semantic error: %s is not a pointor" pr_err("Semantic error: %s is not a pointer"
" nor array.\n", varname); " nor array.\n", varname);
return -EINVAL; return -EINVAL;
} }

Loading…
Cancel
Save