diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-30 10:26:56 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-30 11:01:54 -0800 |
commit | 06ef7f688aa7dc17827d9f7723211acc5d7d76d8 (patch) | |
tree | f3c805ebc7418a110597c5deffd1300d583d8d99 | |
parent | 3eca91e150f9fbf4d24e7c96bd33c02fded2c149 (diff) |
Replace or remove invalid characters in comments
Fixes flawfinder-sast failures:
Error: encoding error in ./src/xg47_videohw.c
'utf-8' codec can't decode byte 0x92 in position 1980: invalid start byte
Error: encoding error in ./src/xg47_regs.h
'utf-8' codec can't decode byte 0xa8 in position 6460: invalid start byte
Error: encoding error in ./src/xg47_regs.h
'utf-8' codec can't decode byte 0xe7 in position 4716: invalid continuation byte
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/xg47_regs.h | 8 | ||||
-rw-r--r-- | src/xg47_videohw.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/xg47_regs.h b/src/xg47_regs.h index 34e288e..8f05442 100644 --- a/src/xg47_regs.h +++ b/src/xg47_regs.h @@ -795,9 +795,9 @@ typedef enum typedef enum { BSM_no_swap = 0x0, /* unchanged. default. */ - BSM_half_swap = 0x1, /* bit[7:0] ?¨¨bit[15:08] and bit[31:24] ?¨¨ bit[23:16]. */ - BSM_word_swap = 0x2, /* bit[7:0] ?¨¨bit[23:16] and bit[15:08] ?¨¨ bit[31:24]. */ - BSM_full_swap = 0x3 /* bit[7:0] ?¨¨bit[31:24] and bit[15:08] ?¨¨ bit[23:16]. */ + BSM_half_swap = 0x1, /* bit[7:0] ? bit[15:08] and bit[31:24] ? bit[23:16]. */ + BSM_word_swap = 0x2, /* bit[7:0] ? bit[23:16] and bit[15:08] ? bit[31:24]. */ + BSM_full_swap = 0x3 /* bit[7:0] ? bit[31:24] and bit[15:08] ? bit[23:16]. */ } BufferSwapMode; @@ -3189,7 +3189,7 @@ typedef enum PCC_Signed10_Normalize_IFF = 0xc, /* fixed point 10-10-10 format to IFF in [-1.0, 1.0] = fvalue/(29 - 1) in order of (X, Y, Z, 1.0) and set 1.0 to W. D[9:0] = X, D[29:20] = Z. */ PCC_Signed10_Normalize_IFF_Swap_XZ = 0xd, /* 10-10-10 format to IFF in [-1.0, 1.0] = fvalue/(29 - 1) in order of (Z, Y, X, 1.0) and set 1.0 to W. */ PCC_Unsigned10_IFF = 0xe, /* 10-10-10 format to IFF = fvalue in order of (X, Y, Z, 1.0) and set 1.0 to W. */ - PCC_Unsigned10_IFF_Swap_XZ = 0xf /* 10-10-10 format to IFF = fvalue in order of (Z, Y, X, 1.0) and set 1.0 to W. X çè Z. */ + PCC_Unsigned10_IFF_Swap_XZ = 0xf /* 10-10-10 format to IFF = fvalue in order of (Z, Y, X, 1.0) and set 1.0 to W. X <==> Z. */ } PutConversionCodes; diff --git a/src/xg47_videohw.c b/src/xg47_videohw.c index 6efd25b..06b75f0 100644 --- a/src/xg47_videohw.c +++ b/src/xg47_videohw.c @@ -537,7 +537,7 @@ void XG47HwOverDriveSetPara(ScrnInfoPtr pScrn) /* Overdrive LUT content value divided by 2. * 247B<11>: LOD_DIV2 - * i.e. {Content, 2’b0} => {1’b0,Content,1’b0} + * i.e. {Content, 2'b0} => {1'b0,Content,1'b0} */ OUTB(0x247C, INB(0x247C) & ~0x8); |