linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ubifs: delete duplicated words + other fixes
@ 2020-08-05  2:49 Randy Dunlap
  2020-10-14  5:20 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2020-08-05  2:49 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Randy Dunlap, Richard Weinberger, linux-mtd

Delete repeated words in fs/ubifs/.
{negative, is, of, and, one, it}
where "it it" was changed to "if it".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
To: linux-fsdevel@vger.kernel.org
Cc: Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org
---
 fs/ubifs/debug.c    |    2 +-
 fs/ubifs/dir.c      |    2 +-
 fs/ubifs/file.c     |    2 +-
 fs/ubifs/io.c       |    2 +-
 fs/ubifs/replay.c   |    2 +-
 fs/ubifs/tnc.c      |    2 +-
 fs/ubifs/tnc_misc.c |    3 +--
 7 files changed, 7 insertions(+), 8 deletions(-)

--- linux-next-20200804.orig/fs/ubifs/debug.c
+++ linux-next-20200804/fs/ubifs/debug.c
@@ -1012,7 +1012,7 @@ void dbg_save_space_info(struct ubifs_in
  *
  * This function compares current flash space information with the information
  * which was saved when the 'dbg_save_space_info()' function was called.
- * Returns zero if the information has not changed, and %-EINVAL it it has
+ * Returns zero if the information has not changed, and %-EINVAL if it has
  * changed.
  */
 int dbg_check_space_info(struct ubifs_info *c)
--- linux-next-20200804.orig/fs/ubifs/dir.c
+++ linux-next-20200804/fs/ubifs/dir.c
@@ -840,7 +840,7 @@ out_fname:
  *
  * This function checks if directory @dir is empty. Returns zero if the
  * directory is empty, %-ENOTEMPTY if it is not, and other negative error codes
- * in case of of errors.
+ * in case of errors.
  */
 int ubifs_check_dir_empty(struct inode *dir)
 {
--- linux-next-20200804.orig/fs/ubifs/file.c
+++ linux-next-20200804/fs/ubifs/file.c
@@ -205,7 +205,7 @@ static void release_new_page_budget(stru
  * @c: UBIFS file-system description object
  *
  * This is a helper function which releases budget corresponding to the budget
- * of changing one one page of data which already exists on the flash media.
+ * of changing one page of data which already exists on the flash media.
  */
 static void release_existing_page_budget(struct ubifs_info *c)
 {
--- linux-next-20200804.orig/fs/ubifs/io.c
+++ linux-next-20200804/fs/ubifs/io.c
@@ -1046,7 +1046,7 @@ out:
  * @lnum: logical eraseblock number
  * @offs: offset within the logical eraseblock
  *
- * This function reads a node of known type and and length, checks it and
+ * This function reads a node of known type and length, checks it and
  * stores in @buf. Returns zero in case of success, %-EUCLEAN if CRC mismatched
  * and a negative error code in case of failure.
  */
--- linux-next-20200804.orig/fs/ubifs/replay.c
+++ linux-next-20200804/fs/ubifs/replay.c
@@ -574,7 +574,7 @@ static int authenticate_sleb_hash(struct
  * @c: UBIFS file-system description object
  * @sleb: the scan LEB to authenticate
  * @log_hash:
- * @is_last: if true, this is is the last LEB
+ * @is_last: if true, this is the last LEB
  *
  * This function iterates over the buds of a single LEB authenticating all buds
  * with the authentication nodes on this LEB. Authentication nodes are written
--- linux-next-20200804.orig/fs/ubifs/tnc.c
+++ linux-next-20200804/fs/ubifs/tnc.c
@@ -378,7 +378,7 @@ static void lnc_free(struct ubifs_zbranc
  *
  * This function reads a "hashed" node defined by @zbr from the leaf node cache
  * (in it is there) or from the hash media, in which case the node is also
- * added to LNC. Returns zero in case of success or a negative negative error
+ * added to LNC. Returns zero in case of success or a negative error
  * code in case of failure.
  */
 static int tnc_read_hashed_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
--- linux-next-20200804.orig/fs/ubifs/tnc_misc.c
+++ linux-next-20200804/fs/ubifs/tnc_misc.c
@@ -455,8 +455,7 @@ out:
  * @node: node is returned here
  *
  * This function reads a node defined by @zbr from the flash media. Returns
- * zero in case of success or a negative negative error code in case of
- * failure.
+ * zero in case of success or a negative error code in case of failure.
  */
 int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
 			void *node)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ubifs: delete duplicated words + other fixes
  2020-08-05  2:49 [PATCH] ubifs: delete duplicated words + other fixes Randy Dunlap
@ 2020-10-14  5:20 ` Randy Dunlap
  2020-10-17 21:26   ` Richard Weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2020-10-14  5:20 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Richard Weinberger, linux-mtd

ping.

On 8/4/20 7:49 PM, Randy Dunlap wrote:
> Delete repeated words in fs/ubifs/.
> {negative, is, of, and, one, it}
> where "it it" was changed to "if it".
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> To: linux-fsdevel@vger.kernel.org
> Cc: Richard Weinberger <richard@nod.at>
> Cc: linux-mtd@lists.infradead.org
> ---
>  fs/ubifs/debug.c    |    2 +-
>  fs/ubifs/dir.c      |    2 +-
>  fs/ubifs/file.c     |    2 +-
>  fs/ubifs/io.c       |    2 +-
>  fs/ubifs/replay.c   |    2 +-
>  fs/ubifs/tnc.c      |    2 +-
>  fs/ubifs/tnc_misc.c |    3 +--
>  7 files changed, 7 insertions(+), 8 deletions(-)
> 
> --- linux-next-20200804.orig/fs/ubifs/debug.c
> +++ linux-next-20200804/fs/ubifs/debug.c
> @@ -1012,7 +1012,7 @@ void dbg_save_space_info(struct ubifs_in
>   *
>   * This function compares current flash space information with the information
>   * which was saved when the 'dbg_save_space_info()' function was called.
> - * Returns zero if the information has not changed, and %-EINVAL it it has
> + * Returns zero if the information has not changed, and %-EINVAL if it has
>   * changed.
>   */
>  int dbg_check_space_info(struct ubifs_info *c)
> --- linux-next-20200804.orig/fs/ubifs/dir.c
> +++ linux-next-20200804/fs/ubifs/dir.c
> @@ -840,7 +840,7 @@ out_fname:
>   *
>   * This function checks if directory @dir is empty. Returns zero if the
>   * directory is empty, %-ENOTEMPTY if it is not, and other negative error codes
> - * in case of of errors.
> + * in case of errors.
>   */
>  int ubifs_check_dir_empty(struct inode *dir)
>  {
> --- linux-next-20200804.orig/fs/ubifs/file.c
> +++ linux-next-20200804/fs/ubifs/file.c
> @@ -205,7 +205,7 @@ static void release_new_page_budget(stru
>   * @c: UBIFS file-system description object
>   *
>   * This is a helper function which releases budget corresponding to the budget
> - * of changing one one page of data which already exists on the flash media.
> + * of changing one page of data which already exists on the flash media.
>   */
>  static void release_existing_page_budget(struct ubifs_info *c)
>  {
> --- linux-next-20200804.orig/fs/ubifs/io.c
> +++ linux-next-20200804/fs/ubifs/io.c
> @@ -1046,7 +1046,7 @@ out:
>   * @lnum: logical eraseblock number
>   * @offs: offset within the logical eraseblock
>   *
> - * This function reads a node of known type and and length, checks it and
> + * This function reads a node of known type and length, checks it and
>   * stores in @buf. Returns zero in case of success, %-EUCLEAN if CRC mismatched
>   * and a negative error code in case of failure.
>   */
> --- linux-next-20200804.orig/fs/ubifs/replay.c
> +++ linux-next-20200804/fs/ubifs/replay.c
> @@ -574,7 +574,7 @@ static int authenticate_sleb_hash(struct
>   * @c: UBIFS file-system description object
>   * @sleb: the scan LEB to authenticate
>   * @log_hash:
> - * @is_last: if true, this is is the last LEB
> + * @is_last: if true, this is the last LEB
>   *
>   * This function iterates over the buds of a single LEB authenticating all buds
>   * with the authentication nodes on this LEB. Authentication nodes are written
> --- linux-next-20200804.orig/fs/ubifs/tnc.c
> +++ linux-next-20200804/fs/ubifs/tnc.c
> @@ -378,7 +378,7 @@ static void lnc_free(struct ubifs_zbranc
>   *
>   * This function reads a "hashed" node defined by @zbr from the leaf node cache
>   * (in it is there) or from the hash media, in which case the node is also
> - * added to LNC. Returns zero in case of success or a negative negative error
> + * added to LNC. Returns zero in case of success or a negative error
>   * code in case of failure.
>   */
>  static int tnc_read_hashed_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
> --- linux-next-20200804.orig/fs/ubifs/tnc_misc.c
> +++ linux-next-20200804/fs/ubifs/tnc_misc.c
> @@ -455,8 +455,7 @@ out:
>   * @node: node is returned here
>   *
>   * This function reads a node defined by @zbr from the flash media. Returns
> - * zero in case of success or a negative negative error code in case of
> - * failure.
> + * zero in case of success or a negative error code in case of failure.
>   */
>  int ubifs_tnc_read_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
>  			void *node)
> 


-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ubifs: delete duplicated words + other fixes
  2020-10-14  5:20 ` Randy Dunlap
@ 2020-10-17 21:26   ` Richard Weinberger
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Weinberger @ 2020-10-17 21:26 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-fsdevel, Richard Weinberger, linux-mtd

On Wed, Oct 14, 2020 at 7:27 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> ping.
>
> On 8/4/20 7:49 PM, Randy Dunlap wrote:
> > Delete repeated words in fs/ubifs/.
> > {negative, is, of, and, one, it}
> > where "it it" was changed to "if it".

Applied to 5.11 queue. Thanks for fixing!

-- 
Thanks,
//richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-17 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05  2:49 [PATCH] ubifs: delete duplicated words + other fixes Randy Dunlap
2020-10-14  5:20 ` Randy Dunlap
2020-10-17 21:26   ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).