lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 07 Jul 2015 10:38:31 -0700
From:	Randy Dunlap <rdunlap@...radead.org>
To:	Cristian Stoica <cristian.stoica@...escale.com>, jkosina@...e.cz,
	trivial@...nel.org
CC:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] trivial: fix typos and remove double words

On 07/07/15 03:28, Cristian Stoica wrote:
> - to to
> - when when
> 
> Signed-off-by: Cristian Stoica <cristian.stoica@...escale.com>
> ---
>  Documentation/PCI/pci.txt                                     | 2 +-
>  Documentation/RCU/lockdep.txt                                 | 4 ++--
>  Documentation/cpu-freq/cpu-drivers.txt                        | 2 +-
>  arch/arc/mm/cache.c                                           | 2 +-
>  arch/arm/mach-davinci/cp_intc.c                               | 2 +-
>  arch/ia64/kernel/acpi.c                                       | 2 +-
>  arch/powerpc/sysdev/ppc4xx_cpm.c                              | 2 +-
>  arch/x86/kvm/paging_tmpl.h                                    | 2 +-
>  arch/x86/mm/pgtable.c                                         | 2 +-
>  drivers/block/cciss.c                                         | 2 +-
>  drivers/block/cciss_cmd.h                                     | 2 +-
>  drivers/clk/bcm/clk-kona-setup.c                              | 2 +-
>  drivers/crypto/n2_core.c                                      | 2 +-
>  drivers/dma/ep93xx_dma.c                                      | 2 +-
>  drivers/gpu/drm/i915/intel_panel.c                            | 2 +-
>  drivers/gpu/drm/vmwgfx/svga_reg.h                             | 2 +-
>  drivers/i2c/busses/Kconfig                                    | 2 +-
>  drivers/i2c/busses/i2c-cros-ec-tunnel.c                       | 4 ++--
>  drivers/i2c/busses/i2c-viperboard.c                           | 2 +-
>  drivers/infiniband/hw/qib/qib_pcie.c                          | 2 +-
>  drivers/input/mouse/hgpk.c                                    | 2 +-
>  drivers/md/dm-cache-policy-mq.c                               | 2 +-
>  drivers/mmc/core/host.c                                       | 2 +-
>  drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c               | 2 +-
>  drivers/net/ethernet/chelsio/cxgb4vf/sge.c                    | 2 +-
>  drivers/net/ethernet/intel/e1000/e1000_hw.c                   | 2 +-
>  drivers/net/wireless/ath/ath10k/mac.c                         | 2 +-
>  drivers/net/wireless/ath/ath10k/testmode.c                    | 4 ++--
>  drivers/net/wireless/ath/ath9k/hw.h                           | 2 +-
>  drivers/net/wireless/brcm80211/brcmsmac/types.h               | 4 ++--
>  drivers/net/wireless/iwlwifi/dvm/lib.c                        | 2 +-
>  drivers/net/wireless/iwlwifi/mvm/d3.c                         | 2 +-
>  drivers/net/wireless/iwlwifi/mvm/fw-api-power.h               | 2 +-
>  drivers/ps3/ps3-lpm.c                                         | 2 +-
>  drivers/scsi/hpsa.c                                           | 2 +-
>  drivers/scsi/mpt2sas/mpt2sas_base.h                           | 2 +-
>  drivers/scsi/mpt2sas/mpt2sas_transport.c                      | 2 +-
>  drivers/scsi/mpt3sas/mpt3sas_base.h                           | 2 +-
>  drivers/scsi/mpt3sas/mpt3sas_transport.c                      | 2 +-
>  drivers/scsi/snic/snic_debugfs.c                              | 2 +-
>  drivers/staging/lustre/lustre/include/cl_object.h             | 2 +-
>  drivers/staging/lustre/lustre/libcfs/hash.c                   | 2 +-
>  drivers/staging/wilc1000/host_interface.c                     | 2 +-
>  drivers/usb/host/uhci-grlib.c                                 | 2 +-
>  drivers/usb/host/uhci-platform.c                              | 2 +-
>  fs/btrfs/ioctl.c                                              | 2 +-
>  fs/ocfs2/refcounttree.c                                       | 2 +-
>  fs/xfs/xfs_trans_ail.c                                        | 2 +-
>  include/linux/cpufreq.h                                       | 2 +-
>  include/linux/mm.h                                            | 2 +-
>  net/mac80211/sta_info.h                                       | 4 ++--
>  net/netlink/genetlink.c                                       | 2 +-
>  net/tipc/msg.c                                                | 2 +-
>  sound/soc/tegra/tegra20_das.h                                 | 4 ++--
>  tools/perf/Documentation/perf-script-perl.txt                 | 2 +-
>  tools/perf/Documentation/perf-script-python.txt               | 2 +-
>  tools/perf/util/event.h                                       | 2 +-
>  tools/testing/ktest/sample.conf                               | 2 +-
>  tools/testing/selftests/ftrace/test.d/ftrace/func_profiler.tc | 2 +-
>  59 files changed, 65 insertions(+), 65 deletions(-)
> 
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 35ac237..cdba007 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -357,7 +357,7 @@ config I2C_AXXIA
>  	  Say yes if you want to support the I2C bus on Axxia platforms.
>  
>  	  Please note that this controller is limited to transfers of maximum
> -	  255 bytes in length. Any attempt to to a larger transfer will return
> +	  255 bytes in length. Any attempt to a larger transfer will return

better:
	                                   to make a larger transfer

>  	  an error.
>  
>  config I2C_BCM2835

> diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c
> index 47e88ad..3fee025 100644
> --- a/drivers/i2c/busses/i2c-viperboard.c
> +++ b/drivers/i2c/busses/i2c-viperboard.c
> @@ -323,7 +323,7 @@ static int vprbrd_i2c_xfer(struct i2c_adapter *i2c, struct i2c_msg *msgs,
>  			amsg->addr = pmsg->addr;
>  			amsg->unknown1 = 0x00;
>  			amsg->len = cpu_to_le16(pmsg->len);
> -			/* send the addr, the data goes to to board */
> +			/* send the addr, the data goes to board */

maybe:			                                to the board */

>  			ret = vprbrd_i2c_addr(vb->usb_dev, amsg);
>  			if (ret < 0)
>  				error = ret;

> diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
> index 1dafeb4..1d65288 100644
> --- a/drivers/scsi/hpsa.c
> +++ b/drivers/scsi/hpsa.c
> @@ -8309,7 +8309,7 @@ static int hpsa_enter_performant_mode(struct ctlr_info *h, u32 trans_support)
>  	struct access_method access = SA5_performant_access;
>  
>  	/* This is a bit complicated.  There are 8 registers on
> -	 * the controller which we write to to tell it 8 different
> +	 * the controller which we write to tell it 8 different

Note that this "to to" is OK as is, but changing it is also OK.
Same for a similar patch (which I have already elided).

>  	 * sizes of commands which there may be.  It's a way of
>  	 * reducing the DMA done to fetch each command.  Encoded into
>  	 * each command's tag are 3 bits which communicate to the controller
> diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h
> index caff8d1..565469b 100644
> --- a/drivers/scsi/mpt2sas/mpt2sas_base.h
> +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h
> @@ -506,7 +506,7 @@ struct _sas_node {
>  /**
>   * enum reset_type - reset state
>   * @FORCE_BIG_HAMMER: issue diagnostic reset
> - * @SOFT_RESET: issue message_unit_reset, if fails to to big hammer
> + * @SOFT_RESET: issue message_unit_reset, if fails to big hammer

I don't understand that description before or after the change.
Not your problem though.

>   */
>  enum reset_type {
>  	FORCE_BIG_HAMMER,

> diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h
> index afa8816..c1a6d6c 100644
> --- a/drivers/scsi/mpt3sas/mpt3sas_base.h
> +++ b/drivers/scsi/mpt3sas/mpt3sas_base.h
> @@ -430,7 +430,7 @@ struct _sas_node {
>  /**
>   * enum reset_type - reset state
>   * @FORCE_BIG_HAMMER: issue diagnostic reset
> - * @SOFT_RESET: issue message_unit_reset, if fails to to big hammer
> + * @SOFT_RESET: issue message_unit_reset, if fails to big hammer

eh?

>   */
>  enum reset_type {
>  	FORCE_BIG_HAMMER,


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ