diff mbox series

[2/5] libxfs: fix weird comment

Message ID 160633668822.634603.17791163917116618433.stgit@magnolia (mailing list archive)
State Accepted
Headers show
Series xfsprogs: fixes for 5.10-rc1 | expand

Commit Message

Darrick J. Wong Nov. 25, 2020, 8:38 p.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Not sure what happened with this multiline comment, but clean up all the
stars.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 include/platform_defs.h.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Eric Sandeen Nov. 25, 2020, 8:53 p.m. UTC | #1
On 11/25/20 2:38 PM, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Not sure what happened with this multiline comment, but clean up all the
> stars.

urk, that looks like something I would do, thanks :)

"My God, it's full of stars!"

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

> 
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---
>  include/platform_defs.h.in |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> 
> diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in
> index 95e7209a3332..539bdbecf6e0 100644
> --- a/include/platform_defs.h.in
> +++ b/include/platform_defs.h.in
> @@ -86,9 +86,9 @@ extern int	platform_nproc(void);
>  /* Simplified from version in include/linux/overflow.h */
>  
>  /*
> - *  * Compute a*b+c, returning SIZE_MAX on overflow. Internal helper for
> - *   * struct_size() below.
> - *    */
> + * Compute a*b+c, returning SIZE_MAX on overflow. Internal helper for
> + * struct_size() below.
> + */
>  static inline size_t __ab_c_size(size_t a, size_t b, size_t c)
>  {
>  	return (a * b) + c;
>
Christoph Hellwig Dec. 1, 2020, 10:17 a.m. UTC | #2
On Wed, Nov 25, 2020 at 12:38:08PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Not sure what happened with this multiline comment, but clean up all the
> stars.

Looks like a typical copy and paste error when the editor tries to be
"smart".

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in
index 95e7209a3332..539bdbecf6e0 100644
--- a/include/platform_defs.h.in
+++ b/include/platform_defs.h.in
@@ -86,9 +86,9 @@  extern int	platform_nproc(void);
 /* Simplified from version in include/linux/overflow.h */
 
 /*
- *  * Compute a*b+c, returning SIZE_MAX on overflow. Internal helper for
- *   * struct_size() below.
- *    */
+ * Compute a*b+c, returning SIZE_MAX on overflow. Internal helper for
+ * struct_size() below.
+ */
 static inline size_t __ab_c_size(size_t a, size_t b, size_t c)
 {
 	return (a * b) + c;