[PW_SID:1064974] riscv: uaccess: fix sparse warning about cast to restricted type#1592
[PW_SID:1064974] riscv: uaccess: fix sparse warning about cast to restricted type#1592linux-riscv-bot wants to merge 1 commit into
Conversation
It seems recent changes have made sparse warning about casting to restricted types whe using __get_user() in drivers such as the drivers/pci/proc.c. Fix this with a __force to fix such warnings as: drivers/pci/proc.c:148:17: warning: cast to restricted __le16 drivers/pci/proc.c:148:17: warning: cast to restricted __le16 drivers/pci/proc.c:148:17: warning: cast to restricted __le16 drivers/pci/proc.c:148:17: warning: cast to restricted __le16 drivers/pci/proc.c:157:17: warning: cast to restricted __le32 drivers/pci/proc.c:157:17: warning: cast to restricted __le32 drivers/pci/proc.c:157:17: warning: cast to restricted __le32 drivers/pci/proc.c:157:17: warning: cast to restricted __le32 drivers/pci/proc.c:166:17: warning: cast to restricted __le16 drivers/pci/proc.c:166:17: warning: cast to restricted __le16 drivers/pci/proc.c:166:17: warning: cast to restricted __le16 drivers/pci/proc.c:166:17: warning: cast to restricted __le16 Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
|
Patch 1: "riscv: uaccess: fix sparse warning about cast to restricted type" |
PR for series 1064974 applied to workflow__riscv__fixes
Name: riscv: uaccess: fix sparse warning about cast to restricted type
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1064974
Version: 1