Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1323564 > unrolled thread
| Started by | Matt Fleming <matt@codeblueprint.co.uk> |
|---|---|
| First post | 2016-02-01 23:10 +0100 |
| Last post | 2016-02-03 12:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 08/14] efivars: Use to_efivar_entry Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-01 23:10 +0100
[tip:efi/core] efivars: Use to_efivar_entry tip-bot for Geliang Tang <tipbot@zytor.com> - 2016-02-03 12:50 +0100
| From | Matt Fleming <matt@codeblueprint.co.uk> |
|---|---|
| Date | 2016-02-01 23:10 +0100 |
| Subject | [PATCH 08/14] efivars: Use to_efivar_entry |
| Message-ID | <qXuPy-WW-33@gated-at.bofh.it> |
From: Geliang Tang <geliangtang@163.com>
Use to_efivar_entry() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
---
drivers/firmware/efi/efivars.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/efivars.c b/drivers/firmware/efi/efivars.c
index 756eca8c4cf8..c5b0d2bc1111 100644
--- a/drivers/firmware/efi/efivars.c
+++ b/drivers/firmware/efi/efivars.c
@@ -386,7 +386,7 @@ static const struct sysfs_ops efivar_attr_ops = {
static void efivar_release(struct kobject *kobj)
{
- struct efivar_entry *var = container_of(kobj, struct efivar_entry, kobj);
+ struct efivar_entry *var = to_efivar_entry(kobj);
kfree(var);
}
--
2.6.2
[toc] | [next] | [standalone]
| From | tip-bot for Geliang Tang <tipbot@zytor.com> |
|---|---|
| Date | 2016-02-03 12:50 +0100 |
| Subject | [tip:efi/core] efivars: Use to_efivar_entry |
| Message-ID | <qY46D-1pi-23@gated-at.bofh.it> |
| In reply to | #1323564 |
Commit-ID: 9c09a342eb27902955ca939bd6ba29d875bd8b6b
Gitweb: http://git.kernel.org/tip/9c09a342eb27902955ca939bd6ba29d875bd8b6b
Author: Geliang Tang <geliangtang@163.com>
AuthorDate: Mon, 1 Feb 2016 22:07:02 +0000
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 3 Feb 2016 11:41:19 +0100
efivars: Use to_efivar_entry
Use to_efivar_entry() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Link: http://lkml.kernel.org/r/1454364428-494-9-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
drivers/firmware/efi/efivars.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/efi/efivars.c b/drivers/firmware/efi/efivars.c
index 756eca8..c5b0d2b 100644
--- a/drivers/firmware/efi/efivars.c
+++ b/drivers/firmware/efi/efivars.c
@@ -386,7 +386,7 @@ static const struct sysfs_ops efivar_attr_ops = {
static void efivar_release(struct kobject *kobj)
{
- struct efivar_entry *var = container_of(kobj, struct efivar_entry, kobj);
+ struct efivar_entry *var = to_efivar_entry(kobj);
kfree(var);
}
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web