From ea345a52b969fca62910094f431ba62821c68909 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 20 Aug 2025 17:37:41 -0700 Subject: [PATCH] Strip trailing whitespace from source files Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'` `git diff -w` & `git diff -b` show no diffs from this change Signed-off-by: Alan Coopersmith Part-of: --- .gitignore | 4 ++-- man/Makefile.am | 2 +- src/sisusb_cursor.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 9494718..67f0ef2 100644 --- a/.gitignore +++ b/.gitignore @@ -71,8 +71,8 @@ core *.tar.bz2 *.tar.gz # -# Add & Override patterns for xf86-video-sisusb +# Add & Override patterns for xf86-video-sisusb # # Edit the following section as needed # For example, !report.pc overrides *.pc. See 'man gitignore' -# +# diff --git a/man/Makefile.am b/man/Makefile.am index 9ceb36f..26b4cac 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -19,7 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. -# +# drivermandir = $(DRIVER_MAN_DIR) diff --git a/src/sisusb_cursor.h b/src/sisusb_cursor.h index a184814..b1c0707 100644 --- a/src/sisusb_cursor.h +++ b/src/sisusb_cursor.h @@ -38,10 +38,10 @@ * 20000000 = 32(1) / 16(1) bit RGB * 10000000 = "ghost"(1) - Alpha Blend(0) */ - + #define sisusbGetCursorStatus \ SIS_MMIO_IN32(pSiSUSB, pSiSUSB->IOBase, CS(0)) & 0x40000000; - + #define sisusbSetCursorStatus(status) \ pSiSUSB->HWCursorBackup[0] &= 0xbfffffff; \ pSiSUSB->HWCursorBackup[0] |= status; \ @@ -55,7 +55,7 @@ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(0), pSiSUSB->HWCursorBackup[0]); \ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(3), pSiSUSB->HWCursorBackup[3]); \ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(4), pSiSUSB->HWCursorBackup[4]); - + #define sisusbEnableHWARGBCursor()\ pSiSUSB->HWCursorBackup[0] &= 0x0FFFFFFF; \ pSiSUSB->HWCursorBackup[0] |= 0xE0000000; \ @@ -81,7 +81,7 @@ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(0), pSiSUSB->HWCursorBackup[0]); \ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(3), pSiSUSB->HWCursorBackup[3]); \ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(4), pSiSUSB->HWCursorBackup[4]); - + #define sisusbSetCursorBGColor(color) \ SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(1), (color)); \ pSiSUSB->HWCursorBackup[1] = color;