login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
23
Re: [2.6 patch] drivers/firmware/iscsi_ibft.c: make 3 functions static
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Konrad Rzeszutek <ketuzsezr@...>
To: Adrian Bunk <bunk@...>
Cc: Konrad Rzeszutek <ketuzsezr@...>, James Bottomley <James.Bottomley@...>, <linux-scsi@...>, <linux-kernel@...>
Subject:
Re: [2.6 patch] drivers/firmware/iscsi_ibft.c: make 3 functions static
Date: Wednesday, April 23, 2008 - 7:24 am
On Wednesday 23 April 2008 05:52:30 Adrian Bunk wrote:
quoted text
> This patch makes the following needlessly global functions static: > - ibft_attr_show_initiator() > - ibft_attr_show_nic() > - ibft_attr_show_target() > > Signed-off-by: Adrian Bunk <bunk@kernel.org>
Thanks for catching that. Signed-off-by: Konrad Rzeszutek <ketuzsezr@darnok.org>
quoted text
> > --- > > drivers/firmware/iscsi_ibft.c | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > 421adc9620a633d461059da9a8a94315d8a767ea diff --git > a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c index > 8024e3b..8523811 100644 > --- a/drivers/firmware/iscsi_ibft.c > +++ b/drivers/firmware/iscsi_ibft.c > @@ -334,9 +334,9 @@ static void ibft_release(struct kobject *kobj) > /* > * Routines for parsing the iBFT data to be human readable. > */ > -ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, > - struct ibft_attribute *attr, > - char *buf) > +static ssize_t ibft_attr_show_initiator(struct ibft_kobject *entry, > + struct ibft_attribute *attr, > + char *buf) > { > struct ibft_initiator *initiator = entry->initiator; > void *ibft_loc = entry->header; > @@ -376,9 +376,9 @@ ssize_t ibft_attr_show_initiator(struct ibft_kobject > *entry, return str - buf; > } > > -ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, > - struct ibft_attribute *attr, > - char *buf) > +static ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, > + struct ibft_attribute *attr, > + char *buf) > { > struct ibft_nic *nic = entry->nic; > void *ibft_loc = entry->header; > @@ -440,9 +440,9 @@ ssize_t ibft_attr_show_nic(struct ibft_kobject *entry, > return str - buf; > }; > > -ssize_t ibft_attr_show_target(struct ibft_kobject *entry, > - struct ibft_attribute *attr, > - char *buf) > +static ssize_t ibft_attr_show_target(struct ibft_kobject *entry, > + struct ibft_attribute *attr, > + char *buf) > { > struct ibft_tgt *tgt = entry->tgt; > void *ibft_loc = entry->header;
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[2.6 patch] drivers/firmware/iscsi_ibft.c: make 3 functions ...
, Adrian Bunk
, (Wed Apr 23, 5:52 am)
[2.6 patch] drivers/firmware/iscsi_ibft.c: make 3 functions ...
, Konrad Rzeszutek
, (Tue Aug 12, 3:43 pm)
[PATCH] drivers/firmware/iscsi_ibft.c: make 3 functions static
, Konrad Rzeszutek
, (Tue Aug 12, 3:43 pm)
Re: [PATCH] drivers/firmware/iscsi_ibft.c: make 3 functions ...
, Konrad Rzeszutek
, (Tue Aug 12, 4:01 pm)
Re: [2.6 patch] drivers/firmware/iscsi_ibft.c: make 3 functi...
, Konrad Rzeszutek
, (Wed Apr 23, 7:24 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Arjan van de Ven
[Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in
Linus Torvalds
Linux 2.6.27-rc8
Tilman Schmidt
git guidance
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
Martin Langhoff
Re: pack operation is thrashing my server
Alan Larkin
fatal: Out of memory, malloc failed
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Alex Riesen
Re: How do get a specific version of a particular file?
openbsd-misc
:
Leon Dippenaar
New tcp stack attack
Richard Stallman
Real men don't attack straw men
Pieter Verberne
Remove escape characters from file
Juan Miscaro
removing sendmail
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Chuck Lever
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Latest forum posts
usb mic not detected
39 minutes ago
Applications and Utilities
Add ext2 inode field
10 hours ago
Linux kernel
the kernel how to power off the machine
19 hours ago
Linux kernel
struct gendisk via request_queue
22 hours ago
Linux kernel
page initialization during kernel initialization
1 day ago
Linux kernel
Read Transport Layer Data form network packets (tcp/ip)
2 days ago
Linux kernel
Getting blinking screen in Fedora 9
2 days ago
Linux general
Problem with kernel + libata
3 days ago
Linux kernel
How to detect usb device insertioin and removal event ?
3 days ago
Linux general
toshiba m30x-129 herbinaiton problem
3 days ago
Hardware
Show all forums...
Recent Tags
-rc8
bugs
-rc
quote
Linux
2.6.27
Linus Torvalds
Intel
2.6.27-rc8
more tags
Colocation donated by:
Who's online
There are currently
4 users
and
1135 guests
online.
Online users
rahumathali
gmicsko
thorfinn@kernel...
strcmp
Syndicate
speck-geostationary