Commit a9042def authored by Linus Torvalds's avatar Linus Torvalds

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

Pull trivial updates from Jiri Kosina.

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
  NTB: correct ntb_spad_count comment typo
  misc: ibmasm: fix typo in error message
  Remove references to dead make variable LINUX_INCLUDE
  Remove last traces of ikconfig.h
  treewide: Fix printk() message errors
  Documentation/device-mapper: s/getsize/getsz/
parents 6960d582 74dcba35
...@@ -16,12 +16,12 @@ Example scripts ...@@ -16,12 +16,12 @@ Example scripts
[[ [[
#!/bin/sh #!/bin/sh
# Create device delaying rw operation for 500ms # Create device delaying rw operation for 500ms
echo "0 `blockdev --getsize $1` delay $1 0 500" | dmsetup create delayed echo "0 `blockdev --getsz $1` delay $1 0 500" | dmsetup create delayed
]] ]]
[[ [[
#!/bin/sh #!/bin/sh
# Create device delaying only write operation for 500ms and # Create device delaying only write operation for 500ms and
# splitting reads and writes to different devices $1 $2 # splitting reads and writes to different devices $1 $2
echo "0 `blockdev --getsize $1` delay $1 0 0 $2 0 500" | dmsetup create delayed echo "0 `blockdev --getsz $1` delay $1 0 0 $2 0 500" | dmsetup create delayed
]] ]]
...@@ -102,7 +102,7 @@ https://gitlab.com/cryptsetup/cryptsetup ...@@ -102,7 +102,7 @@ https://gitlab.com/cryptsetup/cryptsetup
[[ [[
#!/bin/sh #!/bin/sh
# Create a crypt device using dmsetup # Create a crypt device using dmsetup
dmsetup create crypt1 --table "0 `blockdev --getsize $1` crypt aes-cbc-essiv:sha256 babebabebabebabebabebabebabebabe 0 $1 0" dmsetup create crypt1 --table "0 `blockdev --getsz $1` crypt aes-cbc-essiv:sha256 babebabebabebabebabebabebabebabe 0 $1 0"
]] ]]
[[ [[
......
...@@ -16,15 +16,15 @@ Example scripts ...@@ -16,15 +16,15 @@ Example scripts
[[ [[
#!/bin/sh #!/bin/sh
# Create an identity mapping for a device # Create an identity mapping for a device
echo "0 `blockdev --getsize $1` linear $1 0" | dmsetup create identity echo "0 `blockdev --getsz $1` linear $1 0" | dmsetup create identity
]] ]]
[[ [[
#!/bin/sh #!/bin/sh
# Join 2 devices together # Join 2 devices together
size1=`blockdev --getsize $1` size1=`blockdev --getsz $1`
size2=`blockdev --getsize $2` size2=`blockdev --getsz $2`
echo "0 $size1 linear $1 0 echo "0 $size1 linear $1 0
$size1 $size2 linear $2 0" | dmsetup create joined $size1 $size2 linear $2 0" | dmsetup create joined
]] ]]
...@@ -44,7 +44,7 @@ if (!defined($dev)) { ...@@ -44,7 +44,7 @@ if (!defined($dev)) {
die("Please specify a device.\n"); die("Please specify a device.\n");
} }
my $dev_size = `blockdev --getsize $dev`; my $dev_size = `blockdev --getsz $dev`;
my $extents = int($dev_size / $extent_size) - my $extents = int($dev_size / $extent_size) -
(($dev_size % $extent_size) ? 1 : 0); (($dev_size % $extent_size) ? 1 : 0);
......
...@@ -37,9 +37,9 @@ if (!$num_devs) { ...@@ -37,9 +37,9 @@ if (!$num_devs) {
die("Specify at least one device\n"); die("Specify at least one device\n");
} }
$min_dev_size = `blockdev --getsize $devs[0]`; $min_dev_size = `blockdev --getsz $devs[0]`;
for ($i = 1; $i < $num_devs; $i++) { for ($i = 1; $i < $num_devs; $i++) {
my $this_size = `blockdev --getsize $devs[$i]`; my $this_size = `blockdev --getsz $devs[$i]`;
$min_dev_size = ($min_dev_size < $this_size) ? $min_dev_size = ($min_dev_size < $this_size) ?
$min_dev_size : $this_size; $min_dev_size : $this_size;
} }
......
...@@ -123,7 +123,7 @@ Assume that you have volumes vg1/switch0 vg1/switch1 vg1/switch2 with ...@@ -123,7 +123,7 @@ Assume that you have volumes vg1/switch0 vg1/switch1 vg1/switch2 with
the same size. the same size.
Create a switch device with 64kB region size: Create a switch device with 64kB region size:
dmsetup create switch --table "0 `blockdev --getsize /dev/vg1/switch0` dmsetup create switch --table "0 `blockdev --getsz /dev/vg1/switch0`
switch 3 128 0 /dev/vg1/switch0 0 /dev/vg1/switch1 0 /dev/vg1/switch2 0" switch 3 128 0 /dev/vg1/switch0 0 /dev/vg1/switch1 0 /dev/vg1/switch2 0"
Set mappings for the first 7 entries to point to devices switch0, switch1, Set mappings for the first 7 entries to point to devices switch0, switch1,
......
...@@ -139,7 +139,6 @@ hpet_example ...@@ -139,7 +139,6 @@ hpet_example
hugepage-mmap hugepage-mmap
hugepage-shm hugepage-shm
ihex2fw ihex2fw
ikconfig.h*
inat-tables.c inat-tables.c
initramfs_list initramfs_list
int16.c int16.c
......
...@@ -136,7 +136,7 @@ int arch_hibernation_header_save(void *addr, unsigned int max_size) ...@@ -136,7 +136,7 @@ int arch_hibernation_header_save(void *addr, unsigned int max_size)
/* Save the mpidr of the cpu we called cpu_suspend() on... */ /* Save the mpidr of the cpu we called cpu_suspend() on... */
if (sleep_cpu < 0) { if (sleep_cpu < 0) {
pr_err("Failing to hibernate on an unkown CPU.\n"); pr_err("Failing to hibernate on an unknown CPU.\n");
return -ENODEV; return -ENODEV;
} }
hdr->sleep_cpu_mpidr = cpu_logical_map(sleep_cpu); hdr->sleep_cpu_mpidr = cpu_logical_map(sleep_cpu);
...@@ -547,7 +547,7 @@ int swsusp_arch_resume(void) ...@@ -547,7 +547,7 @@ int swsusp_arch_resume(void)
int hibernate_resume_nonboot_cpu_disable(void) int hibernate_resume_nonboot_cpu_disable(void)
{ {
if (sleep_cpu < 0) { if (sleep_cpu < 0) {
pr_err("Failing to resume from hibernate on an unkown CPU.\n"); pr_err("Failing to resume from hibernate on an unknown CPU.\n");
return -ENODEV; return -ENODEV;
} }
......
...@@ -341,7 +341,7 @@ void output_pm_defines(void) ...@@ -341,7 +341,7 @@ void output_pm_defines(void)
void output_kvm_defines(void) void output_kvm_defines(void)
{ {
COMMENT(" KVM/MIPS Specfic offsets. "); COMMENT(" KVM/MIPS Specific offsets. ");
OFFSET(VCPU_FPR0, kvm_vcpu_arch, fpu.fpr[0]); OFFSET(VCPU_FPR0, kvm_vcpu_arch, fpu.fpr[0]);
OFFSET(VCPU_FPR1, kvm_vcpu_arch, fpu.fpr[1]); OFFSET(VCPU_FPR1, kvm_vcpu_arch, fpu.fpr[1]);
......
...@@ -10,7 +10,7 @@ targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 ...@@ -10,7 +10,7 @@ targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
targets += misc.o piggy.o sizes.h head.o targets += misc.o piggy.o sizes.h head.o
KBUILD_CFLAGS := -m64 -D__KERNEL__ $(LINUX_INCLUDE) -O2 KBUILD_CFLAGS := -m64 -D__KERNEL__ -O2
KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -msoft-float KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -msoft-float
KBUILD_CFLAGS += $(call cc-option,-mpacked-stack) KBUILD_CFLAGS += $(call cc-option,-mpacked-stack)
......
# #
# Makefile for the Linux/SuperH CPU-specifc backends. # Makefile for the Linux/SuperH CPU-specific backends.
# #
obj-$(CONFIG_CPU_SH2) = sh2/ obj-$(CONFIG_CPU_SH2) = sh2/
......
# #
# Makefile for the Linux/SuperH CPU-specifc IRQ handlers. # Makefile for the Linux/SuperH CPU-specific IRQ handlers.
# #
obj-$(CONFIG_SUPERH32) += imask.o obj-$(CONFIG_SUPERH32) += imask.o
obj-$(CONFIG_CPU_SH5) += intc-sh5.o obj-$(CONFIG_CPU_SH5) += intc-sh5.o
......
...@@ -25,7 +25,7 @@ KCOV_INSTRUMENT := n ...@@ -25,7 +25,7 @@ KCOV_INSTRUMENT := n
targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4 vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4
KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ -O2
KBUILD_CFLAGS += -fno-strict-aliasing $(call cc-option, -fPIE, -fPIC) KBUILD_CFLAGS += -fno-strict-aliasing $(call cc-option, -fPIE, -fPIC)
KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
cflags-$(CONFIG_X86_32) := -march=i386 cflags-$(CONFIG_X86_32) := -march=i386
......
...@@ -104,7 +104,7 @@ config ACPI_PROCFS_POWER ...@@ -104,7 +104,7 @@ config ACPI_PROCFS_POWER
Say N to delete power /proc/acpi/ directories that have moved to /sys/ Say N to delete power /proc/acpi/ directories that have moved to /sys/
config ACPI_REV_OVERRIDE_POSSIBLE config ACPI_REV_OVERRIDE_POSSIBLE
bool "Allow supported ACPI revision to be overriden" bool "Allow supported ACPI revision to be overridden"
depends on X86 depends on X86
default y default y
help help
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# #
cflags-$(CONFIG_X86_32) := -march=i386 cflags-$(CONFIG_X86_32) := -march=i386
cflags-$(CONFIG_X86_64) := -mcmodel=small cflags-$(CONFIG_X86_64) := -mcmodel=small
cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \ cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ -O2 \
-fPIC -fno-strict-aliasing -mno-red-zone \ -fPIC -fno-strict-aliasing -mno-red-zone \
-mno-mmx -mno-sse -mno-mmx -mno-sse
......
...@@ -855,7 +855,7 @@ struct DTag { /* Display tags */ ...@@ -855,7 +855,7 @@ struct DTag { /* Display tags */
{ 0x8c, "Reason" }, { 0x8c, "Reason" },
{ 0x8d, "Calling party name" }, { 0x8d, "Calling party name" },
{ 0x8e, "Called party name" }, { 0x8e, "Called party name" },
{ 0x8f, "Orignal called name" }, { 0x8f, "Original called name" },
{ 0x90, "Redirecting name" }, { 0x90, "Redirecting name" },
{ 0x91, "Connected name" }, { 0x91, "Connected name" },
{ 0x92, "Originating restrictions" }, { 0x92, "Originating restrictions" },
......
...@@ -1455,7 +1455,7 @@ static const struct usb_device_id af9015_id_table[] = { ...@@ -1455,7 +1455,7 @@ static const struct usb_device_id af9015_id_table[] = {
{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_CONCEPTRONIC_CTVDIGRCU, { DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_CONCEPTRONIC_CTVDIGRCU,
&af9015_props, "Conceptronic USB2.0 DVB-T CTVDIGRCU V3.0", NULL) }, &af9015_props, "Conceptronic USB2.0 DVB-T CTVDIGRCU V3.0", NULL) },
{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_MC810, { DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_MC810,
&af9015_props, "KWorld Digial MC-810", NULL) }, &af9015_props, "KWorld Digital MC-810", NULL) },
{ DVB_USB_DEVICE(USB_VID_KYE, USB_PID_GENIUS_TVGO_DVB_T03, { DVB_USB_DEVICE(USB_VID_KYE, USB_PID_GENIUS_TVGO_DVB_T03,
&af9015_props, "Genius TVGo DVB-T03", NULL) }, &af9015_props, "Genius TVGo DVB-T03", NULL) },
{ DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_399U_2, { DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_KWORLD_399U_2,
......
...@@ -461,7 +461,7 @@ static int max77620_probe(struct i2c_client *client, ...@@ -461,7 +461,7 @@ static int max77620_probe(struct i2c_client *client,
chip->rmap = devm_regmap_init_i2c(client, rmap_config); chip->rmap = devm_regmap_init_i2c(client, rmap_config);
if (IS_ERR(chip->rmap)) { if (IS_ERR(chip->rmap)) {
ret = PTR_ERR(chip->rmap); ret = PTR_ERR(chip->rmap);
dev_err(chip->dev, "Failed to intialise regmap: %d\n", ret); dev_err(chip->dev, "Failed to initialise regmap: %d\n", ret);
return ret; return ret;
} }
......
...@@ -170,7 +170,7 @@ static void ibmasm_remove_one(struct pci_dev *pdev) ...@@ -170,7 +170,7 @@ static void ibmasm_remove_one(struct pci_dev *pdev)
ibmasm_unregister_uart(sp); ibmasm_unregister_uart(sp);
dbg("Sending OS down message\n"); dbg("Sending OS down message\n");
if (ibmasm_send_os_state(sp, SYSTEM_STATE_OS_DOWN)) if (ibmasm_send_os_state(sp, SYSTEM_STATE_OS_DOWN))
err("failed to get repsonse to 'Send OS State' command\n"); err("failed to get response to 'Send OS State' command\n");
dbg("Disabling heartbeats\n"); dbg("Disabling heartbeats\n");
ibmasm_heartbeat_exit(sp); ibmasm_heartbeat_exit(sp);
dbg("Disabling interrupts\n"); dbg("Disabling interrupts\n");
......
...@@ -585,7 +585,7 @@ int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf, ...@@ -585,7 +585,7 @@ int bnx2x_vf_mcast(struct bnx2x *bp, struct bnx2x_virtf *vf,
mcast.mcast_list_len = mc_num; mcast.mcast_list_len = mc_num;
rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_SET); rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_SET);
if (rc) if (rc)
BNX2X_ERR("Faled to set multicasts\n"); BNX2X_ERR("Failed to set multicasts\n");
} else { } else {
/* clear existing mcasts */ /* clear existing mcasts */
rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_DEL); rc = bnx2x_config_mcast(bp, &mcast, BNX2X_MCAST_CMD_DEL);
......
...@@ -1377,7 +1377,7 @@ static const char *attn_master_to_str(u8 master) ...@@ -1377,7 +1377,7 @@ static const char *attn_master_to_str(u8 master)
case 9: return "DBU"; case 9: return "DBU";
case 10: return "DMAE"; case 10: return "DMAE";
default: default:
return "Unkown"; return "Unknown";
} }
} }
...@@ -1555,7 +1555,7 @@ static int qed_dorq_attn_cb(struct qed_hwfn *p_hwfn) ...@@ -1555,7 +1555,7 @@ static int qed_dorq_attn_cb(struct qed_hwfn *p_hwfn)
DORQ_REG_DB_DROP_DETAILS); DORQ_REG_DB_DROP_DETAILS);
DP_INFO(p_hwfn->cdev, DP_INFO(p_hwfn->cdev,
"DORQ db_drop: adress 0x%08x Opaque FID 0x%04x Size [bytes] 0x%08x Reason: 0x%08x\n", "DORQ db_drop: address 0x%08x Opaque FID 0x%04x Size [bytes] 0x%08x Reason: 0x%08x\n",
qed_rd(p_hwfn, p_hwfn->p_dpc_ptt, qed_rd(p_hwfn, p_hwfn->p_dpc_ptt,
DORQ_REG_DB_DROP_DETAILS_ADDRESS), DORQ_REG_DB_DROP_DETAILS_ADDRESS),
(u16)(details & QED_DORQ_ATTENTION_OPAQUE_MASK), (u16)(details & QED_DORQ_ATTENTION_OPAQUE_MASK),
......
...@@ -369,7 +369,7 @@ int qed_sp_pf_start(struct qed_hwfn *p_hwfn, ...@@ -369,7 +369,7 @@ int qed_sp_pf_start(struct qed_hwfn *p_hwfn,
p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; p_ramrod->personality = PERSONALITY_RDMA_AND_ETH;
break; break;
default: default:
DP_NOTICE(p_hwfn, "Unkown personality %d\n", DP_NOTICE(p_hwfn, "Unknown personality %d\n",
p_hwfn->hw_info.personality); p_hwfn->hw_info.personality);
p_ramrod->personality = PERSONALITY_ETH; p_ramrod->personality = PERSONALITY_ETH;
} }
......
...@@ -2091,7 +2091,7 @@ int ath10k_pci_init_config(struct ath10k *ar) ...@@ -2091,7 +2091,7 @@ int ath10k_pci_init_config(struct ath10k *ar)
ret = ath10k_pci_diag_read32(ar, ealloc_targ_addr, &ealloc_value); ret = ath10k_pci_diag_read32(ar, ealloc_targ_addr, &ealloc_value);
if (ret != 0) { if (ret != 0) {
ath10k_err(ar, "Faile to get early alloc val: %d\n", ret); ath10k_err(ar, "Failed to get early alloc val: %d\n", ret);
return ret; return ret;
} }
......
...@@ -338,7 +338,7 @@ static void wil_rx_add_radiotap_header(struct wil6210_priv *wil, ...@@ -338,7 +338,7 @@ static void wil_rx_add_radiotap_header(struct wil6210_priv *wil,
if (skb_headroom(skb) < rtap_len && if (skb_headroom(skb) < rtap_len &&
pskb_expand_head(skb, rtap_len, 0, GFP_ATOMIC)) { pskb_expand_head(skb, rtap_len, 0, GFP_ATOMIC)) {
wil_err(wil, "Unable to expand headrom to %d\n", rtap_len); wil_err(wil, "Unable to expand headroom to %d\n", rtap_len);
return; return;
} }
......
...@@ -134,7 +134,7 @@ static void _rtl8723e_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id, ...@@ -134,7 +134,7 @@ static void _rtl8723e_fill_h2c_command(struct ieee80211_hw *hw, u8 element_id,
wait_h2c_limmit--; wait_h2c_limmit--;
if (wait_h2c_limmit == 0) { if (wait_h2c_limmit == 0) {
RT_TRACE(rtlpriv, COMP_CMD, DBG_LOUD, RT_TRACE(rtlpriv, COMP_CMD, DBG_LOUD,
"Wating too long for FW read clear HMEBox(%d)!\n", "Waiting too long for FW read clear HMEBox(%d)!\n",
boxnum); boxnum);
break; break;
} }
......
...@@ -254,7 +254,7 @@ main(int argc, char *argv[]) ...@@ -254,7 +254,7 @@ main(int argc, char *argv[])
argv += optind; argv += optind;
if (argc != 1) { if (argc != 1) {
fprintf(stderr, "%s: No input file specifiled\n", appname); fprintf(stderr, "%s: No input file specified\n", appname);
usage(); usage();
/* NOTREACHED */ /* NOTREACHED */
} }
......
...@@ -2566,7 +2566,7 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc) ...@@ -2566,7 +2566,7 @@ static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc)
*/ */
WARN_ONCE(dwc->revision < DWC3_REVISION_240A WARN_ONCE(dwc->revision < DWC3_REVISION_240A
&& dwc->has_lpm_erratum, && dwc->has_lpm_erratum,
"LPM Erratum not available on dwc3 revisisions < 2.40a\n"); "LPM Erratum not available on dwc3 revisions < 2.40a\n");
if (dwc->has_lpm_erratum && dwc->revision >= DWC3_REVISION_240A) if (dwc->has_lpm_erratum && dwc->revision >= DWC3_REVISION_240A)
reg |= DWC3_DCTL_LPM_ERRATA(dwc->lpm_nyet_threshold); reg |= DWC3_DCTL_LPM_ERRATA(dwc->lpm_nyet_threshold);
......
...@@ -896,7 +896,7 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb) ...@@ -896,7 +896,7 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb)
} }
/** /**
* ntb_mw_count() - get the number of scratchpads * ntb_spad_count() - get the number of scratchpads
* @ntb: NTB device context. * @ntb: NTB device context.
* *
* Hardware and topology may support a different number of scratchpads. * Hardware and topology may support a different number of scratchpads.
......
...@@ -115,8 +115,6 @@ obj-$(CONFIG_HAS_IOMEM) += memremap.o ...@@ -115,8 +115,6 @@ obj-$(CONFIG_HAS_IOMEM) += memremap.o
$(obj)/configs.o: $(obj)/config_data.h $(obj)/configs.o: $(obj)/config_data.h
# config_data.h contains the same information as ikconfig.h but gzipped.
# Info from config_data can be extracted from /proc/config*
targets += config_data.gz targets += config_data.gz
$(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE $(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
$(call if_changed,gzip) $(call if_changed,gzip)
......
...@@ -619,7 +619,7 @@ __visible int plugin_init(struct plugin_name_args *plugin_info, ...@@ -619,7 +619,7 @@ __visible int plugin_init(struct plugin_name_args *plugin_info,
enabled = false; enabled = false;
continue; continue;
} }
error(G_("unkown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
} }
register_callback(plugin_name, PLUGIN_INFO, NULL, register_callback(plugin_name, PLUGIN_INFO, NULL,
......
...@@ -126,7 +126,7 @@ __visible int plugin_init(struct plugin_name_args *plugin_info, struct plugin_gc ...@@ -126,7 +126,7 @@ __visible int plugin_init(struct plugin_name_args *plugin_info, struct plugin_gc
enable = false; enable = false;
continue; continue;
} }
error(G_("unkown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key);
} }
register_callback(plugin_name, PLUGIN_INFO, NULL, &sancov_plugin_info); register_callback(plugin_name, PLUGIN_INFO, NULL, &sancov_plugin_info);
......
...@@ -46,7 +46,7 @@ void usage(char progname[], int exit_status) ...@@ -46,7 +46,7 @@ void usage(char progname[], int exit_status)
puts("\t-b offset : Read value at byte_offset (in hex)"); puts("\t-b offset : Read value at byte_offset (in hex)");
puts("\t-w offset -v value : Write value at byte_offset"); puts("\t-w offset -v value : Write value at byte_offset");
puts("\t-h : Print this help\n\n"); puts("\t-h : Print this help\n\n");
puts("Offsets and values are in hexadecimal number sytem."); puts("Offsets and values are in hexadecimal number system.");
puts("The offset and value must be between 0 and 0xff."); puts("The offset and value must be between 0 and 0xff.");
exit(exit_status); exit(exit_status);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment