Messages in this thread Patch in this message | | | Date | Mon, 13 Jul 2020 17:45:45 +0530 | From | Suraj Upadhyay <> | Subject | [PATCH 2/6] staging: qlge: qlge.h: Insert line after declaration. |
| |
Issue found by checkpatch.pl
Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com> --- drivers/staging/qlge/qlge.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/staging/qlge/qlge.h b/drivers/staging/qlge/qlge.h index 48bc494028ce..483ce04789ed 100644 --- a/drivers/staging/qlge/qlge.h +++ b/drivers/staging/qlge/qlge.h @@ -2224,6 +2224,7 @@ static inline void ql_write_db_reg_relaxed(u32 val, void __iomem *addr) static inline u32 ql_read_sh_reg(__le32 *addr) { u32 reg; + reg = le32_to_cpu(*addr); rmb(); return reg; -- 2.17.1 [unhandled content-type:application/pgp-signature] | |