Skip to content
  • Daniel Vetter's avatar
    tests/kms_rotation_crc: static before const · dd8de0ef
    Daniel Vetter authored
    My gcc is unhappy otherwise:
    
    [191/829] Compiling C object 'tests/te...otation_crc@exe/kms_rotation_crc.c.o'.
    ../tests/kms_rotation_crc.c: In function ‘test_multi_plane_rotation’:
    ../tests/kms_rotation_crc.c:497:2: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
      const static struct {
      ^~~~~
    ../tests/kms_rotation_crc.c:524:2: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
      const static uint32_t  formatlist[] = {DRM_FORMAT_RGB565,
      ^~~~~
    
    Fixes
    
    commit 14c1b132
    
    
    Author: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
    Date:   Fri Nov 30 15:34:36 2018 +0200
    
        tests/kms_rotation_crc: Add multi plane tests
    
    v2: Trim extra space while at it (Petri).
    
    Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com
    Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
    Reviewed-by: default avatarPetri Latvala <petri.latvala@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
    dd8de0ef