1. 19 Jan, 2018 2 commits
    • Arnd Bergmann's avatar
      can: m_can: mark runtime-PM handlers as __maybe_unused · 58359193
      Arnd Bergmann authored
      Building without CONFIG_PM results in a harmless warning:
      
      drivers/net/can/m_can/m_can.c:1763:12: error: 'm_can_runtime_resume' defined but not used [-Werror=unused-function]
      drivers/net/can/m_can/m_can.c:1752:12: error: 'm_can_runtime_suspend' defined but not used [-Werror=unused-function]
      
      Marking the functions as __maybe_unused lets the compiler
      silently drop them instead.
      
      Fixes: cdf8259d ("can: m_can: Add PM Support")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
      58359193
    • Andrew Morton's avatar
      net/sched/sch_prio.c: work around gcc-4.4.4 union initializer issues · ef58ca38
      Andrew Morton authored
      gcc-4.4.4 has problems witn anon union initializers.  Work around this.
      
      net/sched/sch_prio.c: In function 'prio_dump_offload':
      net/sched/sch_prio.c:260: error: unknown field 'stats' specified in initializer
      net/sched/sch_prio.c:260: warning: initialization makes integer from pointer without a cast
      net/sched/sch_prio.c:261: error: unknown field 'stats' specified in initializer
      net/sched/sch_prio.c:261: warning: initialization makes integer from pointer without a cast
      
      Fixes: 7fdb61b4 ("net: sch: prio: Add offload ability to PRIO qdisc")
      Cc: Nogah Frankel <nogahf@mellanox.com>
      Cc: Yuval Mintz <yuvalm@mellanox.com>
      Cc: Jiri Pirko <jiri@mellanox.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ef58ca38
  2. 18 Jan, 2018 3 commits
  3. 17 Jan, 2018 35 commits