All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Cristian Stoica <cristian.stoica@freescale.com>,
	jkosina@suse.cz, trivial@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] trivial: fix typos and remove double words
Date: Tue, 07 Jul 2015 10:38:31 -0700	[thread overview]
Message-ID: <559C0E97.6040703@infradead.org> (raw)
In-Reply-To: <1436264907-30550-1-git-send-email-cristian.stoica@freescale.com>

On 07/07/15 03:28, Cristian Stoica wrote:
> - to to
> - when when
> 
> Signed-off-by: Cristian Stoica <cristian.stoica@freescale.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

  reply	other threads:[~2015-07-07 17:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 10:28 [PATCH] trivial: fix typos and remove double words Cristian Stoica
2015-07-07 17:38 ` Randy Dunlap [this message]
2015-07-08  8:23   ` [PATCH v2] " Cristian Stoica
2015-07-08  8:42     ` [PATCH v3] " Cristian Stoica
2015-07-09  1:41       ` Randy Dunlap
2015-07-09  7:48         ` Cristian Stoica

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=559C0E97.6040703@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=cristian.stoica@freescale.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.