Mesa (master): 27 new commits

Brian Paul brianp at kemper.freedesktop.org
Fri Nov 17 16:33:01 UTC 2017


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b50eda849805c51f83d57402e7d5e90fad7fe085
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:10:01 2017 +0100

    gallium/aux/util/u_surface.c: Silence warnings and remove unneeded MAYBE_UNUSED
    
     * Explicitely convert values to int in comparison.
     * Remove one MAYBE_UNUSED that is actually not needed.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7bf83ef5cf65d2ed730fcb2e560cd6531a5953a
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:10:00 2017 +0100

    gallium/aux/util/u_debug_image.c: Silence warnings -Wunused-param
    
    Decorate the according parameters with UNUSED.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f23f2146cb8699df06a592cd13ca1ffd2c488862
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:59 2017 +0100

    gallium/aux/util/u_debug_flush.c: Silence warnings -Wunused-param
    
    Decorate the unused parameters with UNUSED.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1dca234daf1ef0a61fadc0ae0dadc599d3f8b7f0
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:58 2017 +0100

    gallium/aux/util/u_debug.c: Silence warnings -Wunused-param
    
    Silence warnings by decoration the parameters with UNUSED.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bec80e892b80cce5f8afec8313b208bc78b7b127
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:57 2017 +0100

    gallium/aux/util/u_format_table.py: Add UNUSED decoration to the generated function headers
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7ebf9579701280fa2980b42f0b70e93f3177d5b
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:56 2017 +0100

    gallium/aux/util/u_async_debug.c: Fix -Wtype-limits warning.
    
    Use size_t instread of unsigned for new_max. realloc later expects
    size_t as parameter anyway.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=537d04615d4e4c41ba4959445d8bd1bd22763d50
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:55 2017 +0100

    gallium/aux/os/os_thread.h: Silence -Wunused-param.
    
    With --disable-debug a parameter is not used. Silence this
    warning by fake-using it.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4bdad3d98ccf6a408fd0d13224c22e07c81a87ae
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:54 2017 +0100

    gallium/aux/util/u_debug_refcnt.h: Fix -Wunused-param warnings
    
    Annotate the according parameters accordingly.
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2049c635ee78b7c5d48cb6821b23eccbd1f475eb
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:53 2017 +0100

    gallium/aux/util/u_blit.c: Fix -Wunused-param warnings
    
    Annotate the parameters accordingly.
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    v1: Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b984188f980830b8385f1c0a81ea7852c230b5d
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:52 2017 +0100

    src/util/simple_mtx.h: Fix two -Wunused-param warnings.
    
    Decorate the parameters accordingly with "UNUSED" or "MAYBE_UNUSED" (for
    the param that is used in debug mode, but not in release mode).
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=811eb70a5782a507168d3837ffa00cbe63a5412c
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:51 2017 +0100

    mesa/main/texcompress_s3tc_tmp.h: Fix two -Wparam-unused warnings.
    
    Decorate the params accordingly with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=28a02eb3b8a222166e190b40907d3b320902aa3c
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:49 2017 +0100

    gallium/aux/util/u_transfer.c: Fix some -Wunused-param warnings.
    
    Decorate the params with "UNUSED" accordingly.
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82e2f1ea34c8479b7bc35e5b750e0c329aade582
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:48 2017 +0100

    gallium/aux/util/u_threaded_context.c: Fix some -Wunused-param warnings.
    
    Decorate the params accordingly with UNUSED or MAYBE_UNUSED (for params
    that are used in debug mode).
    
    v2: move *UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5da06d9b76a2c9271b8518178ee613c4553ab9f
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:47 2017 +0100

    gallium/aux/util/u_surface.c: Silence a -Wsign-compare warning.
    
    Explicitely convert one value to compare.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9fef0fa9f936a9a0d8a6ae148c2f9a5857f0e9e
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:46 2017 +0100

    gallium/aux/util/u_pstipple.c: Fix one -Wsign-compare warning in ?: construct.
    
    Silence the warning by making the conversion to int explicit.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2644a80ccfa8118acc21300b6ea9f3eac751e5ef
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:45 2017 +0100

    gallium/aux/util/u_mm.c: Fix one -Wparam-unused warning.
    
    Decorate the unused param accordingly with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c0d4baaf7ffc3076fd2496e29507f59541091af
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:44 2017 +0100

    gallium/aux/util/u_format_yuv.c: Fix a number of -Wunused-param warnings.
    
    Decorate the params accordingly with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a837a3d10d98e7a1de3384a954d5e8ec984aacf8
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:43 2017 +0100

    gallium/aux/util/u_format_rgtc.c: Fix a number of -Wunused-param warnings
    
    Decorate the params accordingly with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a29181d3c1659e270f994a7b3003c122075069fd
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:42 2017 +0100

    gallium/aux/util/u_format_other.c: Fix various -Wunused-param warnings
    
    Decorate the unused params with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b4bacc09f6f046577b790796a6a946edef8ec21
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:41 2017 +0100

    gallium/aux/util/u_format_latc.c: Fix various -Wunused-param warnings, (v2)
    
    Decorate the unused params with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d744387b088380f32d15f0544699e8c705518a06
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:40 2017 +0100

    gallium/aux/util/u_format_etc.c: Fix eight -Wunused-param warnings (v2)
    
    Decorate the parameters accordingly with "UNUSED".
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cf93a7fc9eba4f706749ef0051ac2d93122caf4c
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:39 2017 +0100

    gallium/aux/util/u_format.c: Fix one -Wunused-param warning
    
    This warning was issued only in release mode. Fix it by fake-using the
    parameter.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e979ab70c2b1aa350ae6f23fe9affd9d8dd636ff
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:38 2017 +0100

    gallium/aux/util/u_dump_state.c: Fix two -Wunused-paramter warnings
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=20d3e943b1a1a8edb910672d758716059937cddd
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:37 2017 +0100

    gallium/aux/util/u_dump_defines.c: Fix -Wcompare-unsigned warning
    
    u_bit_scan may return -1 that then may be interpreted as (unsigned)-1 in
    the following comparison, since num_names is unsigned. Convert the latter to
    be int as well.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=373c263e2c3886c88e84d853b9df61ad03d1a8ea
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:36 2017 +0100

    gallium/aux/util/u_debug_stack.c: Silence -Wunused-result warning
    
    asprintf is decorated with the attrbute "warn_unused_result", and if the
    function call fails, the pointer "temp" will be undefined, but since it is
    used later it should contain some usable value.
    Test return value of asprintf and assign some save value to "temp" if
    the call failed.
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b80c03870f97be1e5ed1ed5c7b82b87749760f2
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:35 2017 +0100

    gallium/aux/util/u_debug_describe.c: Silence an -Wunused-param warning
    
    Annotate the unused parameter.
    
    v2: move UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca7d5170eb7660e86dfddcc1fa2d359d12b78ef6
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Thu Nov 16 16:09:34 2017 +0100

    gallium/aux/util/u_blitter.c: Silence some warnings
    
    * Annotate three parameters that are not used in release mode.
    * explicitely convert an int to unsigned in an ?: construct.
    
    v2: move MAYBE_UNUSED decoration in front of parameter declaration
    
    Signed-off-by: Gert Wollny <gw.fossdev at gmail.com>
    Reviewed-by: Brian Paul <brianp at vmware.com> (v1)




More information about the mesa-commit mailing list