projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a43d3f8
)
fs: partitions: Fix warnings in fs/partitions/check.c
author
Colin Cross
<ccross@android.com>
Wed, 7 Apr 2010 19:08:27 +0000
(12:08 -0700)
committer
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:32 +0000
(17:49 -0700)
Change-Id: I4398ace0c55d4833b1fcbb7a4e71ab8f0b1b044a
Signed-off-by: Colin Cross <ccross@android.com>
fs/partitions/check.c
patch
|
blob
|
history
diff --git
a/fs/partitions/check.c
b/fs/partitions/check.c
index 019cdada47648b77a12d05455f0353e4fd78e338..77e420c0d2c0ba0923de0e71bd775eff25e0c42a 100644
(file)
--- a/
fs/partitions/check.c
+++ b/
fs/partitions/check.c
@@
-355,9
+355,8
@@
static void part_release(struct device *dev)
kfree(p);
}
-static int part_uevent(struct device *dev, struct kobj_uvent_env *env)
+static int part_uevent(struct device *dev, struct kobj_u
e
vent_env *env)
{
- struct gendisk *disk = dev_to_disk(dev);
struct hd_struct *part = dev_to_part(dev);
add_uevent_var(env, "PARTN=%u", part->partno);