chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
volume_id: add volume_id_get_* functions
[elogind.git]
/
extras
/
volume_id
/
lib
/
highpoint.c
diff --git
a/extras/volume_id/lib/highpoint.c
b/extras/volume_id/lib/highpoint.c
index deba540ad586f14ce70bff48d2501f7c7569c091..f2c4069cc613a0bbd683857f09eadf07b1cb2631 100644
(file)
--- a/
extras/volume_id/lib/highpoint.c
+++ b/
extras/volume_id/lib/highpoint.c
@@
-43,13
+43,13
@@
struct hpt45x_meta {
#define HPT45X_MAGIC_BAD 0x5a7816fd
#define HPT45X_MAGIC_BAD 0x5a7816fd
-int volume_id_probe_highpoint_37x_raid(struct volume_id *id, uint64_t off)
+int volume_id_probe_highpoint_37x_raid(struct volume_id *id, uint64_t off
, uint64_t size
)
{
const uint8_t *buf;
struct hpt37x_meta *hpt;
uint32_t magic;
{
const uint8_t *buf;
struct hpt37x_meta *hpt;
uint32_t magic;
-
dbg
("probing at offset 0x%llx", (unsigned long long) off);
+
info
("probing at offset 0x%llx", (unsigned long long) off);
buf = volume_id_get_buffer(id, off + HPT37X_CONFIG_OFF, 0x200);
if (buf == NULL)
buf = volume_id_get_buffer(id, off + HPT37X_CONFIG_OFF, 0x200);
if (buf == NULL)