Skip to content
Snippets Groups Projects
Select Git revision
  • ccfc27302cdd82529500f3712841f30a62d19aaf
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

sccnxp.c

Blame
    • Greg Kroah-Hartman's avatar
      b70936d9
      tty: serial: sccnxp: Fix bug with unterminated platform_id list · b70936d9
      Greg Kroah-Hartman authored
      
      The build even tells you that this is a bad thing:
      
      drivers/tty/serial/sccnxp: struct platform_device_id is 32 bytes.  The
      last of 8 is:
      0x73 0x63 0x36 0x38 0x36 0x39 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00
      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x54 0x0c 0x01 0x00
      0x00 0x00 0x00 0x00
      FATAL: drivers/tty/serial/sccnxp: struct platform_device_id is not
      terminated with a NULL entry!
      
      So fix this problem up before someone oopses their box when loading the
      driver, as this breaks the build.
      
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b70936d9
      History
      tty: serial: sccnxp: Fix bug with unterminated platform_id list
      Greg Kroah-Hartman authored
      
      The build even tells you that this is a bad thing:
      
      drivers/tty/serial/sccnxp: struct platform_device_id is 32 bytes.  The
      last of 8 is:
      0x73 0x63 0x36 0x38 0x36 0x39 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00
      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x54 0x0c 0x01 0x00
      0x00 0x00 0x00 0x00
      FATAL: drivers/tty/serial/sccnxp: struct platform_device_id is not
      terminated with a NULL entry!
      
      So fix this problem up before someone oopses their box when loading the
      driver, as this breaks the build.
      
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    tables.c 8.65 KiB