1. 14 5月, 2012 1 次提交
    • S
      [media] v4l2: use __u32 rather than enums in ioctl() structs · 6016af82
      Sakari Ailus 提交于
      V4L2 uses the enum type in IOCTL arguments in IOCTLs that were defined until
      the use of enum was considered less than ideal. Recently Rémi Denis-Courmont
      brought up the issue by proposing a patch to convert the enums to unsigned:
      
      <URL:http://www.spinics.net/lists/linux-media/msg46167.html>
      
      This sparked a long discussion where another solution to the issue was
      proposed: two sets of IOCTL structures, one with __u32 and the other with
      enums, and conversion code between the two:
      
      <URL:http://www.spinics.net/lists/linux-media/msg47168.html>
      
      Both approaches implement a complete solution that resolves the problem. The
      first one is simple but requires assuming enums and __u32 are the same in
      size (so we won't break the ABI) while the second one is more complex and
      less clean but does not require making that assumption.
      
      The issue boils down to whether enums are fundamentally different from __u32
      or not, and can the former be substituted by the latter. During the
      discussion it was concluded that the __u32 has the same size as enums on all
      archs Linux is supported: it has not been shown that replacing those enums
      in IOCTL arguments would break neither source or binary compatibility. If no
      such reason is found, just replacing the enums with __u32s is the way to go.
      
      This is what this patch does. This patch is slightly different from Remi's
      first RFC (link above): it uses __u32 instead of unsigned and also changes
      the arguments of VIDIOC_G_PRIORITY and VIDIOC_S_PRIORITY.
      Signed-off-by: NRémi Denis-Courmont <remi@remlab.net>
      Signed-off-by: NSakari Ailus <sakari.ailus@iki.fi>
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6016af82
  2. 02 5月, 2012 1 次提交
  3. 11 4月, 2012 5 次提交
  4. 23 3月, 2012 1 次提交
    • J
      kgdb,debug_core: add the ability to control the reboot notifier · bec4d62e
      Jason Wessel 提交于
      Sometimes it is desirable to stop the kernel debugger before allowing
      a system to reboot either with kdb or kgdb.  This patch adds the
      ability to turn the reboot notifier on and off or enter the debugger
      and stop kernel execution before rebooting.
      
      It is possible to change the setting after booting the kernel with the
      following:
      
      echo 1 > /sys/module/debug_core/parameters/kgdbreboot
      
      It is also possible to change this setting using kdb / kgdb to
      manipulate the variable directly.
      
      Using KDB:
         mm kgdbreboot 1
      
      Using gdb:
         set kgdbreboot=1
      Reported-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      bec4d62e
  5. 20 3月, 2012 1 次提交
  6. 19 3月, 2012 1 次提交
  7. 08 3月, 2012 1 次提交
  8. 07 3月, 2012 1 次提交
  9. 29 2月, 2012 1 次提交
  10. 28 2月, 2012 2 次提交
  11. 14 2月, 2012 2 次提交
  12. 07 2月, 2012 1 次提交
    • J
      cfg80211: stop tracking authenticated state · 95de817b
      Johannes Berg 提交于
      To track authenticated state seems to have been
      a design mistake in cfg80211. It is possible to
      have out of band authentication (FT), tracking
      multiple authentications caused more problems
      than it ever helped, and the implementation in
      mac80211 is too complex.
      
      Remove all this complexity, and let userspace
      do whatever it wants to, mac80211 can deal with
      that just fine. Association is still tracked of
      course, but authentication no longer is. Local
      auth state changes are thus no longer of value,
      so ignore them completely.
      
      This will also help implement SAE -- asking the
      driver to do an authentication is now almost
      equivalent to sending an authentication frame,
      with the exception of shared key authentication
      which is still handled completely.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      95de817b
  13. 03 2月, 2012 1 次提交
  14. 02 2月, 2012 1 次提交
  15. 25 1月, 2012 1 次提交
  16. 24 1月, 2012 4 次提交
  17. 17 1月, 2012 3 次提交
  18. 16 1月, 2012 4 次提交
  19. 11 1月, 2012 3 次提交
  20. 06 1月, 2012 1 次提交
  21. 05 1月, 2012 2 次提交
  22. 31 12月, 2011 1 次提交
  23. 20 12月, 2011 1 次提交