1. 12 Mar, 2007 1 commit
    • Jiri Kosina's avatar
      HID: allocate hid_parser in a proper way · 47a80edb
      Jiri Kosina authored
      hid_parser is non-trivially large structure, so it should be allocated
      using vmalloc() to avoid unsuccessful allocations when memory fragmentation
      is too high.
      This structue has a very short life, it's destroyed as soon as the report
      descriptor has been completely parsed.
      
      This should be considered a temporary solution, until the hid_parser is
      rewritten to consume less memory during report descriptor parsing.
      Acked-by: default avatarMariusz Kozlowski <m.kozlowski@tuxland.pl>
      Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
      47a80edb
  2. 10 Mar, 2007 39 commits