Quoting Robert Millan <[EMAIL PROTECTED]>:

So this patch means to solve both issues;  makes single-disk drivers use a
constant directly (since a pointer to string is meaningless and confusing),
and disk/scsi.c use LUNs which (I believe) will work as unique identifiers.

Multi-character constants cause warnings. That's why I changed them to strings. Pointers to different strings are different, and that's all we need. If you prefer numeric IDs, perhaps we'll need a header file with all IDs we support. Alternatively, we need a macro that would convert characters to an ID.

--
Regards,
Pavel Roskin


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to