lkml.org 
[lkml]   [2024]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v3 3/9] auxdisplay: ht16k33: Add default to switch-cases
    On Mon, Feb 19, 2024 at 6:03 PM Andy Shevchenko
    <andriy.shevchenko@linux.intel.com> wrote:
    > Currently the compiler (GCC) is able to figure out that there is no
    > other choices possible than those that are already listed in the
    > switch-cases. However, if we want to move some code to the callback,
    > compiler will start complaining that no default is defined. Make
    > sure we have all switch-cases equiped with default.
    >
    > Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
    > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

    Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>

    Gr{oetje,eeting}s,

    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds

    \
     
     \ /
      Last update: 2024-05-27 15:22    [W:5.673 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site