Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-25 Thread kernel test robot
: https://lore.kernel.org/r/20230620045919.492128-1-suhui%40nfschina.com patch subject: [PATCH] drm/amd/amdgpu: Properly tune the size of struct config: m68k-randconfig-r093-20230625 (https://download.01.org/0day-ci/archive/20230626/202306260550.sinebmd3-...@intel.com/config) compiler: m68k-linux

Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-23 Thread kernel test robot
: https://lore.kernel.org/r/20230620045919.492128-1-suhui%40nfschina.com patch subject: [PATCH] drm/amd/amdgpu: Properly tune the size of struct config: riscv-randconfig-s032-20230622 (https://download.01.org/0day-ci/archive/20230623/202306232056.uocmpruz-...@intel.com/config) compiler: riscv64

Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-22 Thread kernel test robot
: https://lore.kernel.org/r/20230620045919.492128-1-suhui%40nfschina.com patch subject: [PATCH] drm/amd/amdgpu: Properly tune the size of struct config: microblaze-randconfig-s032-20230622 (https://download.01.org/0day-ci/archive/20230623/202306231320.jelzhrjj-...@intel.com/config) compiler

Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-21 Thread Longsuhui
On 2023/6/20 15:37, Dan Carpenter wrote: On Tue, Jun 20, 2023 at 12:59:19PM +0800, Su Hui wrote: Smatch error: gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:316:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" static assertion failed: "amd_sriov_msg_vf2pf_info

Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-21 Thread Dan Carpenter
On Tue, Jun 20, 2023 at 12:59:19PM +0800, Su Hui wrote: > Smatch error: > gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:316:49: error: > static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" > static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" > I doubt that moving the

Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-21 Thread Dan Carpenter
On Tue, Jun 20, 2023 at 10:37:59AM +0300, Dan Carpenter wrote: > "Mark the associated types properly packed individually, rather than > use the disgusting "pragma pack()" that should never be used." > >

Re: [PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-20 Thread kernel test robot
: https://lore.kernel.org/r/20230620045919.492128-1-suhui%40nfschina.com patch subject: [PATCH] drm/amd/amdgpu: Properly tune the size of struct config: csky-randconfig-s041-20230620 (https://download.01.org/0day-ci/archive/20230621/202306210814.ejjpl8qs-...@intel.com/config) compiler: csky-linux

[PATCH] drm/amd/amdgpu: Properly tune the size of struct

2023-06-20 Thread Su Hui
Smatch error: gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:316:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" Fixes: 1721bc1b2afa ("drm/amdgpu: Update VF2PF interface") Signed-off-by: Su Hui ---