[PATCH] docs: aoe: Remove trailing whitespace

Osama Albahrani posted 1 patch 2 months ago
Documentation/admin-guide/aoe/udev.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] docs: aoe: Remove trailing whitespace
Posted by Osama Albahrani 2 months ago
Fix `ERROR: trailing whitespace` errors from scripts/checkpatch.pl

Signed-off-by: Osama Albahrani <osalbahr@gmail.com>
---
 Documentation/admin-guide/aoe/udev.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/admin-guide/aoe/udev.txt b/Documentation/admin-guide/aoe/udev.txt
index 5fb756466bc7..d55ecb411c21 100644
--- a/Documentation/admin-guide/aoe/udev.txt
+++ b/Documentation/admin-guide/aoe/udev.txt
@@ -2,7 +2,7 @@
 # They may be installed along the following lines.  Check the section
 # 8 udev manpage to see whether your udev supports SUBSYSTEM, and
 # whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
-# 
+#
 #   ecashin@makki ~$ su
 #   Password:
 #   bash# find /etc -type f -name udev.conf
@@ -13,7 +13,7 @@
 #   10-wacom.rules  50-udev.rules
 #   bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \
 #           /etc/udev/rules.d/60-aoe.rules
-#  
+#
 
 # aoe char devices
 SUBSYSTEM=="aoe", KERNEL=="discover",	NAME="etherd/%k", GROUP="disk", MODE="0220"
@@ -22,5 +22,5 @@ SUBSYSTEM=="aoe", KERNEL=="interfaces",	NAME="etherd/%k", GROUP="disk", MODE="02
 SUBSYSTEM=="aoe", KERNEL=="revalidate",	NAME="etherd/%k", GROUP="disk", MODE="0220"
 SUBSYSTEM=="aoe", KERNEL=="flush",	NAME="etherd/%k", GROUP="disk", MODE="0220"
 
-# aoe block devices     
+# aoe block devices
 KERNEL=="etherd*",       GROUP="disk"
-- 
2.50.1
Re: [PATCH] docs: aoe: Remove trailing whitespace
Posted by Jonathan Corbet 1 month, 3 weeks ago
Osama Albahrani <osalbahr@gmail.com> writes:

> Fix `ERROR: trailing whitespace` errors from scripts/checkpatch.pl
>
> Signed-off-by: Osama Albahrani <osalbahr@gmail.com>
> ---
>  Documentation/admin-guide/aoe/udev.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/admin-guide/aoe/udev.txt b/Documentation/admin-guide/aoe/udev.txt
> index 5fb756466bc7..d55ecb411c21 100644
> --- a/Documentation/admin-guide/aoe/udev.txt
> +++ b/Documentation/admin-guide/aoe/udev.txt
> @@ -2,7 +2,7 @@
>  # They may be installed along the following lines.  Check the section
>  # 8 udev manpage to see whether your udev supports SUBSYSTEM, and
>  # whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
> -# 
> +#
>  #   ecashin@makki ~$ su
>  #   Password:
>  #   bash# find /etc -type f -name udev.conf
> @@ -13,7 +13,7 @@
>  #   10-wacom.rules  50-udev.rules
>  #   bash# cp /path/to/linux/Documentation/admin-guide/aoe/udev.txt \
>  #           /etc/udev/rules.d/60-aoe.rules
> -#  
> +#
>  
>  # aoe char devices
>  SUBSYSTEM=="aoe", KERNEL=="discover",	NAME="etherd/%k", GROUP="disk", MODE="0220"
> @@ -22,5 +22,5 @@ SUBSYSTEM=="aoe", KERNEL=="interfaces",	NAME="etherd/%k", GROUP="disk", MODE="02
>  SUBSYSTEM=="aoe", KERNEL=="revalidate",	NAME="etherd/%k", GROUP="disk", MODE="0220"
>  SUBSYSTEM=="aoe", KERNEL=="flush",	NAME="etherd/%k", GROUP="disk", MODE="0220"
>  
> -# aoe block devices     
> +# aoe block devices
>  KERNEL=="etherd*",       GROUP="disk"

I have applied this.  Congratulations on your first kernel patch; I do
hope you can move on from checkpatch-driven fixes for future work,
though!

Thanks,

jon