<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/pcmcia/yenta_socket.c, branch dev</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-06-14T19:35:45+00:00</updated>
<entry>
<title>pcmcia: Fix resource leaks in yenta_probe() and _close()</title>
<updated>2015-06-14T19:35:45+00:00</updated>
<author>
<name>Takeshi Yoshimura</name>
<email>yos@sslab.ics.keio.ac.jp</email>
</author>
<published>2015-06-14T17:43:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d19319affb6c84ef45185588f63dc28f8ff95ea3'/>
<id>urn:sha1:d19319affb6c84ef45185588f63dc28f8ff95ea3</id>
<content type='text'>
There are some resource leaks in yenta_probe() and _close(). I fixed
the following issues with some code cleanups. Thanks to Dominik's
suggestions.

On the error path in yenta_probe():
- a requested irq is not released
- yenta_free_resources() and pci_set_drvdata(dev, NULL) are not called

In yenta_close():
- kfree(sock) is not called
- sock-&gt;base is always set to non-NULL when yenta_close() is called,
  therefore the check in yenta_close() is not necessary.

Signed-off-by: Takeshi Yoshimura &lt;yos@sslab.ics.keio.ac.jp&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
<entry>
<title>pcmcia: Convert dev_printk to dev_&lt;level&gt;</title>
<updated>2015-05-30T14:09:04+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2014-10-10T16:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f2e6cf76751d479874216f989f6bef6da6e80119'/>
<id>urn:sha1:f2e6cf76751d479874216f989f6bef6da6e80119</id>
<content type='text'>
Reduce object size a little by using dev_&lt;level&gt;
calls instead of dev_printk(KERN_&lt;LEVEL&gt;.

Other miscellanea:

o Coalesce formats
o Realign arguments
o Use pr_cont instead of naked printk
  reorder test to use "%s\n"

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
</content>
</entry>
<entry>
<title>pcmcia: Use setup_timer and mod_timer</title>
<updated>2015-03-16T20:31:43+00:00</updated>
<author>
<name>Vaishali Thakkar</name>
<email>vthakkar1994@gmail.com</email>
</author>
<published>2015-02-11T10:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=03b225b16d75bccf9bc4d82607964a08148adf61'/>
<id>urn:sha1:03b225b16d75bccf9bc4d82607964a08148adf61</id>
<content type='text'>
This patch introduces the use of functions setup_timer
and mod_timer.

This is done using Coccinelle and semantic patch used
for this as follows:

// &lt;smpl&gt;
@@
expression x,y,z,a,b;
@@

-init_timer (&amp;x);
+setup_timer (&amp;x, y, z);
+mod_timer (&amp;a, b);
-x.function = y;
-x.data = z;
-x.expires = b;
-add_timer(&amp;a);

// &lt;/smpl&gt;

Signed-off-by: Vaishali Thakkar &lt;vthakkar1994@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>pcmcia: remove DEFINE_PCI_DEVICE_TABLE usage</title>
<updated>2014-07-18T23:58:07+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2014-07-18T23:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=0178a7a54d408d2c5b7bbe7eee9450bffbec0989'/>
<id>urn:sha1:0178a7a54d408d2c5b7bbe7eee9450bffbec0989</id>
<content type='text'>
It's not needed, just use the "real" structure definition instead.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>pcmcia: Use list_for_each_entry() for bus traversal</title>
<updated>2014-02-14T18:20:51+00:00</updated>
<author>
<name>Yijing Wang</name>
<email>wangyijing@huawei.com</email>
</author>
<published>2014-02-13T13:14:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=560698e9d2ca77d0adb07f3cf0ebfe519859c528'/>
<id>urn:sha1:560698e9d2ca77d0adb07f3cf0ebfe519859c528</id>
<content type='text'>
Replace list_for_each() + pci_bus_b() with list_for_each_entry().

[bhelgaas: fix "silbling" typo]
Signed-off-by: Yijing Wang &lt;wangyijing@huawei.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev</title>
<updated>2013-12-21T17:06:10+00:00</updated>
<author>
<name>Yinghai Lu</name>
<email>yinghai@kernel.org</email>
</author>
<published>2013-12-10T06:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=fc2798502f860b18f3c7121e4dc659d3d9d28d74'/>
<id>urn:sha1:fc2798502f860b18f3c7121e4dc659d3d9d28d74</id>
<content type='text'>
These interfaces:

  pcibios_resource_to_bus(struct pci_dev *dev, *bus_region, *resource)
  pcibios_bus_to_resource(struct pci_dev *dev, *resource, *bus_region)

took a pci_dev, but they really depend only on the pci_bus.  And we want to
use them in resource allocation paths where we have the bus but not a
device, so this patch converts them to take the pci_bus instead of the
pci_dev:

  pcibios_resource_to_bus(struct pci_bus *bus, *bus_region, *resource)
  pcibios_bus_to_resource(struct pci_bus *bus, *resource, *bus_region)

In fact, with standard PCI-PCI bridges, they only depend on the host
bridge, because that's the only place address translation occurs, but
we aren't going that far yet.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>drivers/pcmcia/yenta_socket.c: convert to module_pci_driver</title>
<updated>2013-09-26T15:56:34+00:00</updated>
<author>
<name>Libo Chen</name>
<email>libo.chen@huawei.com</email>
</author>
<published>2013-09-13T21:49:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7d19143fe6bc928aab9968fd47fe39b4996a3297'/>
<id>urn:sha1:7d19143fe6bc928aab9968fd47fe39b4996a3297</id>
<content type='text'>
Use module_pci_driver instead of init/exit, make code clean.

Signed-off-by: Libo Chen &lt;libo.chen@huawei.com&gt;
Cc: Dominik Brodowski &lt;linux@dominikbrodowski.net&gt;
Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>pcmcia: remove use of __devexit</title>
<updated>2012-11-28T20:10:16+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=e765a02cb64bfef53f290122ca0897ef329a4e76'/>
<id>urn:sha1:e765a02cb64bfef53f290122ca0897ef329a4e76</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>pcmcia: remove use of __devinit</title>
<updated>2012-11-28T20:10:16+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:23:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=34cdf25a126f053698d549cc12a9c30e9a8a0bab'/>
<id>urn:sha1:34cdf25a126f053698d549cc12a9c30e9a8a0bab</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Acked-by: Eric Miao &lt;eric.y.miao@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>pcmcia: remove use of __devexit_p</title>
<updated>2012-11-28T20:10:16+00:00</updated>
<author>
<name>Bill Pemberton</name>
<email>wfp5p@virginia.edu</email>
</author>
<published>2012-11-19T18:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=96364e3a5cf1416c158a276134d9a4fc861548c2'/>
<id>urn:sha1:96364e3a5cf1416c158a276134d9a4fc861548c2</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
