1. 07 11月, 2005 1 次提交
    • K
      [PATCH] tpm: Fix lack of driver_unregister in init failcases · e2a8f7a1
      Kylene Jo Hall 提交于
      driver_unregister is not being properly called when the init function
      returns an error case.  Restructured the return logic such that this and
      the other cleanups all happen in one place.  Preformed many of the cleanups
      that Andrew Morton's patch on Thursday made in tpm_atmel.c.  Fixed
      Matthieu's concern about writing before discovery.
      
      (akpm: rmk said:
      
      This driver is buggy.  You must not provide your own release function - it
      doesn't solve the problem which the warning (which you get when you don't
      provide one) is telling you about.
      
      You should convert your device driver over to the replacement dynamic platform
      support, once it is merged.  IOW, something like:
      
      	pdev = platform_device_alloc("mydev", id);
      	if (pdev) {
      		err = platform_device_add_resources(pdev, &resources,
      						ARRAY_SIZE(resources));
      		if (err == 0)
      			err = platform_device_add_data(pdev, &platform_data,
      						sizeof(platform_data));
      		if (err == 0)
      			err = platform_device_add(pdev);
      		} else {
      			err = -ENOMEM;
      		}
      		if (err)
      			platform_device_put(pdev);
      )
      Signed-off-by: NKylene Jo Hall <kjhall@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e2a8f7a1
  2. 02 11月, 2005 1 次提交
  3. 31 10月, 2005 4 次提交
  4. 26 6月, 2005 1 次提交
  5. 24 6月, 2005 5 次提交
  6. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4