<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/ide/ide-floppy_proc.c, branch v3.10.24</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>procfs: new helper - PDE_DATA(inode)</title>
<updated>2013-04-09T18:13:32+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2013-03-31T22:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d9dda78bad879595d8c4220a067fc029d6484a16'/>
<id>d9dda78bad879595d8c4220a067fc029d6484a16</id>
<content type='text'>
The only part of proc_dir_entry the code outside of fs/proc
really cares about is PDE(inode)-&gt;data.  Provide a helper
for that; static inline for now, eventually will be moved
to fs/proc, along with the knowledge of struct proc_dir_entry
layout.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only part of proc_dir_entry the code outside of fs/proc
really cares about is PDE(inode)-&gt;data.  Provide a helper
for that; static inline for now, eventually will be moved
to fs/proc, along with the knowledge of struct proc_dir_entry
layout.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide/ata: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed</title>
<updated>2011-10-31T23:31:37+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-17T19:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=38789fda295689689d064c0157bc363b1837b5e6'/>
<id>38789fda295689689d064c0157bc363b1837b5e6</id>
<content type='text'>
They were getting this implicitly by an include of module.h
from device.h -- but we are going to clean that up and break
that include chain, so include export.h explicitly now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They were getting this implicitly by an include of module.h
from device.h -- but we are going to clean that up and break
that include chain, so include export.h explicitly now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: convert to -&gt;proc_fops</title>
<updated>2009-09-02T00:52:57+00:00</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2009-09-02T00:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6d703a81ad5fdd102334751ddacb053ecc6ff046'/>
<id>6d703a81ad5fdd102334751ddacb053ecc6ff046</id>
<content type='text'>
-&gt;read_proc, -&gt;write_proc are going away, -&gt;proc_fops should be used instead.

The only tricky place is IDENTIFY handling: if for some reason
taskfile_lib_get_identify() fails, buffer _is_ changed and at least
first byte is overwritten. Emulate old behaviour with returning
that first byte to userspace and reporting length=1 despite overall -E.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-&gt;read_proc, -&gt;write_proc are going away, -&gt;proc_fops should be used instead.

The only tricky place is IDENTIFY handling: if for some reason
taskfile_lib_get_identify() fails, buffer _is_ changed and at least
first byte is overwritten. Emulate old behaviour with returning
that first byte to userspace and reporting length=1 despite overall -E.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: NULL noise: drivers/ide/ide-*.c</title>
<updated>2009-03-05T15:10:56+00:00</updated>
<author>
<name>Hannes Eder</name>
<email>hannes@hanneseder.net</email>
</author>
<published>2009-03-05T15:10:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=71bfc7a7c73eaf1f99e309dba60822ba050e3ec5'/>
<id>71bfc7a7c73eaf1f99e309dba60822ba050e3ec5</id>
<content type='text'>
Fix this sparse warnings:
  drivers/ide/ide-disk_proc.c:130:11: warning: Using plain integer as NULL pointer
  drivers/ide/ide-floppy_proc.c:32:11: warning: Using plain integer as NULL pointer
  drivers/ide/ide-proc.c:234:11: warning: Using plain integer as NULL pointer
  drivers/ide/ide-tape.c:2141:11: warning: Using plain integer as NULL pointer

Signed-off-by: Hannes Eder &lt;hannes@hanneseder.net&gt;
Cc: trivial@kernel.org
Cc: kernel-janitors@vger.kernel.org
Cc: Al Viro &lt;viro@ZenIV.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix this sparse warnings:
  drivers/ide/ide-disk_proc.c:130:11: warning: Using plain integer as NULL pointer
  drivers/ide/ide-floppy_proc.c:32:11: warning: Using plain integer as NULL pointer
  drivers/ide/ide-proc.c:234:11: warning: Using plain integer as NULL pointer
  drivers/ide/ide-tape.c:2141:11: warning: Using plain integer as NULL pointer

Signed-off-by: Hannes Eder &lt;hannes@hanneseder.net&gt;
Cc: trivial@kernel.org
Cc: kernel-janitors@vger.kernel.org
Cc: Al Viro &lt;viro@ZenIV.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: prepare for merging ide-gd-floppy.c with ide-gd.c</title>
<updated>2008-10-17T16:09:13+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-10-17T16:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9a6eb74d07f9152dd0e0ea551e878e869b8d2fc1'/>
<id>9a6eb74d07f9152dd0e0ea551e878e869b8d2fc1</id>
<content type='text'>
- idefloppy_ref_mutex -&gt; ide_disk_ref_mutex
- idefloppy_cleanup_obj() -&gt; ide_disk_release()
- ide_floppy_get() -&gt; ide_disk_get()
- ide_floppy_put() -&gt; ide_disk_put()
- ide_floppy_capacity() -&gt; ide_gd_capacity()
- ide_floppy_remove() -&gt; ide_gd_remove()
- ide_floppy_probe() -&gt; ide_gd_probe()
- idefloppy_driver -&gt; ide_gd_driver
- idefloppy_open() -&gt; ide_gd_open()
- idefloppy_release() -&gt; ide_gd_release()
- idefloppy_getgeo() -&gt; ide_gd_getgeo()
- idefloppy_media_changed() -&gt; ide_gd_media_changed()
- idefloppy_revalidate_disk() -&gt; ide_gd_revalidate_disk()
- idefloppy_ops -&gt; ide_gd_ops
- idefloppy_init() -&gt; ide_gd_init()
- idefloppy_exit() -&gt; ide_gd_exit()

- 'floppy' -&gt; 'idkp' in ide_disk_*() and ide_gd_*()
- idefloppy_floppy_t -&gt; struct ide_floppy_obj

There should be no functional changes caused by this patch.

Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- idefloppy_ref_mutex -&gt; ide_disk_ref_mutex
- idefloppy_cleanup_obj() -&gt; ide_disk_release()
- ide_floppy_get() -&gt; ide_disk_get()
- ide_floppy_put() -&gt; ide_disk_put()
- ide_floppy_capacity() -&gt; ide_gd_capacity()
- ide_floppy_remove() -&gt; ide_gd_remove()
- ide_floppy_probe() -&gt; ide_gd_probe()
- idefloppy_driver -&gt; ide_gd_driver
- idefloppy_open() -&gt; ide_gd_open()
- idefloppy_release() -&gt; ide_gd_release()
- idefloppy_getgeo() -&gt; ide_gd_getgeo()
- idefloppy_media_changed() -&gt; ide_gd_media_changed()
- idefloppy_revalidate_disk() -&gt; ide_gd_revalidate_disk()
- idefloppy_ops -&gt; ide_gd_ops
- idefloppy_init() -&gt; ide_gd_init()
- idefloppy_exit() -&gt; ide_gd_exit()

- 'floppy' -&gt; 'idkp' in ide_disk_*() and ide_gd_*()
- idefloppy_floppy_t -&gt; struct ide_floppy_obj

There should be no functional changes caused by this patch.

Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide-floppy: move /proc handling to ide-floppy_proc.c (take 2)</title>
<updated>2008-10-13T19:39:44+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2008-10-13T19:39:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b9103da463f72d03c513acdb18f1aebd7931ed1e'/>
<id>b9103da463f72d03c513acdb18f1aebd7931ed1e</id>
<content type='text'>
While at it:
- idefloppy_capacity() -&gt; ide_floppy_capacity()
- idefloppy_proc[] -&gt; ide_floppy_proc[]
- idefloppy_settings[] -&gt; ide_floppy_settings[]

v2:
Build fix for CONFIG_IDE_PROC_FS=n from Elias Oltmanns.

Cc: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While at it:
- idefloppy_capacity() -&gt; ide_floppy_capacity()
- idefloppy_proc[] -&gt; ide_floppy_proc[]
- idefloppy_settings[] -&gt; ide_floppy_settings[]

v2:
Build fix for CONFIG_IDE_PROC_FS=n from Elias Oltmanns.

Cc: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
