• Srinivasan Shanmugam's avatar
    drm/amdgpu: Fix warnings in gfxhub_ v1_0, v1_2.c · 62e6771a
    Srinivasan Shanmugam authored
    Fix the below checkpatch warnings:
    
    WARNING: Block comments should align the * on each line
    +                       /*
    +                       * Raven2 has a HW issue that it is unable to use the
    
    WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
    +       unsigned num_level, block_size;
    
    WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
    +       unsigned i;
    
    WARNING: Missing a blank line after declarations
    +       u32 tmp;
    +       tmp = RREG32_SOC15(GC, 0, mmVM_L2_PROTECTION_FAULT_CNTL);
    
    WARNING: Block comments should align the * on each line
    +                               /*
    +                               * Raven2 has a HW issue that it is unable to use the
    
    WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
    +       unsigned num_level, block_size;
    
    Cc: Christian König <christian.koenig@amd.com>
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: default avatarSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
    Acked-by: default avatarChristian König <christian.koenig@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    62e6771a
gfxhub_v1_0.c 16 KB