]>
git.ipfire.org Git - thirdparty/grub.git/log
Vladimir Serbinenko [Tue, 12 Nov 2013 01:48:02 +0000 (02:48 +0100)]
* grub-core/disk/AFSplitter.c: Remove variable length arrays.
* grub-core/disk/cryptodisk.c: Likewise.
* grub-core/disk/geli.c: Likewise.
* grub-core/disk/luks.c: Likewise.
Vladimir Serbinenko [Tue, 12 Nov 2013 01:38:33 +0000 (02:38 +0100)]
* grub-core/tests/legacy_password_test.c: New test.
* grub-core/commands/legacycfg.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:52:55 +0000 (01:52 +0100)]
* grub-core/lib/pbkdf2.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:51:36 +0000 (01:51 +0100)]
* grub-core/tests/pbkdf2_test.c: New test.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:26:56 +0000 (01:26 +0100)]
* grub-core/lib/xzembed/xz_dec_stream.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:25:03 +0000 (01:25 +0100)]
* grub-core/io/lzopio.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:20:45 +0000 (01:20 +0100)]
* include/grub/crypto.h: Add maximums on hash size and cipher block
size.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:19:34 +0000 (01:19 +0100)]
* grub-core/commands/xnu_uuid.c: Remove variable length arrays.
Vladimir Serbinenko [Tue, 12 Nov 2013 00:18:27 +0000 (01:18 +0100)]
* grub-core/tests/xnu_uuid_test.c: New test.
Vladimir Serbinenko [Mon, 11 Nov 2013 23:58:46 +0000 (00:58 +0100)]
* grub-core/commands/hashsum.c: Remove unneeded memset (zalloc already
covers it).
Vladimir Serbinenko [Mon, 11 Nov 2013 23:52:54 +0000 (00:52 +0100)]
* grub-core/commands/hashsum.c: Remove variable length arrays.
Vladimir Serbinenko [Mon, 11 Nov 2013 23:44:00 +0000 (00:44 +0100)]
* grub-core/tests/gfxterm_menu.c (gfxterm_menu): Handle out-of-memory
condition.
* tests/grub_func_test.in: Increase memory allocation.
Vladimir Serbinenko [Mon, 11 Nov 2013 22:10:30 +0000 (23:10 +0100)]
* grub-core/osdep/unix/getroot.c [HAVE_STRUCT_STATFS_F_FSTYPENAME
&& HAVE_STRUCT_STATFS_F_MNTFROMNAME]: Include sys/param.h and
sys/mount.h.
Vladimir Serbinenko [Mon, 11 Nov 2013 22:08:51 +0000 (23:08 +0100)]
* grub-core/osdep/apple/hostdisk.c (grub_util_get_fd_size): Rename to ..
(grub_util_get_fd_size_os): ...this.
(grub_hostdisk_flush_initial_buffer): New empty function.
Vladimir Serbinenko [Mon, 11 Nov 2013 22:05:53 +0000 (23:05 +0100)]
* grub-core/gensyminfo.sh.in: Handle the case of portable output
without --defined-only.
Vladimir Serbinenko [Mon, 11 Nov 2013 22:02:51 +0000 (23:02 +0100)]
* grub-core/lib/i386/relocator_common.S [__APPLE__ && __x86_64__]: Use
rip-relative addressing in prologue.
Vladimir Serbinenko [Mon, 11 Nov 2013 21:53:30 +0000 (22:53 +0100)]
* include/grub/misc.h [__APPLE__]: Do not add regparm(0) on x86_64.
* grub-core/kern/misc.c (__bzero) [__APPLE__]: New function.
Vladimir Serbinenko [Mon, 11 Nov 2013 21:49:52 +0000 (22:49 +0100)]
* util/getroot.c (grub_util_biosdisk_get_grub_dev) [__APPLE__]:
Add missing semicolon.
Vladimir Serbinenko [Mon, 11 Nov 2013 21:48:43 +0000 (22:48 +0100)]
* util/grub-macho2img.c: Use plain fopen rather than grub_util_fopen.
Vladimir Serbinenko [Mon, 11 Nov 2013 21:47:48 +0000 (22:47 +0100)]
* configure.ac: Check for lzma.h for enabling liblzma and allow
manual disabling.
Vladimir Serbinenko [Mon, 11 Nov 2013 01:30:09 +0000 (02:30 +0100)]
Add missing includes of loader.h.
Fam Zheng [Sun, 10 Nov 2013 23:24:49 +0000 (00:24 +0100)]
* util/grub.d/30_os-prober.in: Add minix entry.
Vladimir Serbinenko [Sun, 10 Nov 2013 23:06:52 +0000 (00:06 +0100)]
* grub-core/loader/i386/coreboot/chainloader.c (load_segment): Use
right buffer for temporary load.
Vladimir Serbinenko [Sun, 10 Nov 2013 22:26:25 +0000 (23:26 +0100)]
* grub-core/loader/i386/coreboot/chainloader.c: Support tianocore.
Vladimir Serbinenko [Sun, 10 Nov 2013 19:53:27 +0000 (20:53 +0100)]
* grub-core/loader/i386/coreboot/chainloader.c: Support lzma-compressed
payload.
Vladimir Serbinenko [Sun, 10 Nov 2013 19:37:01 +0000 (20:37 +0100)]
* include/grub/lib/LzmaDec.h: Fix to include LzmaTypes.h and
not Types.h.
* grub-core/lib/LzmaDec.c: Fix prologue to make it compileable in GRUB
environment.
(LzmaDec_InitDicAndState): Make static.
Vladimir Serbinenko [Sun, 10 Nov 2013 18:34:19 +0000 (19:34 +0100)]
* util/grub-mkimagexx.c (generate_elf): Fix module address on coreboot.
Vladimir Serbinenko [Sun, 10 Nov 2013 16:52:35 +0000 (17:52 +0100)]
* grub-core/term/ieee1275/escc.c (GRUB_MOD_INIT): Fix order of channels.
Reported by: Aaro Koskinen <aaro.koskinen@iki.fi>
Vladimir Serbinenko [Sun, 10 Nov 2013 16:48:42 +0000 (17:48 +0100)]
* docs/grub-dev.texi: Replace bzr references with git ones.
Andrey Borzenkov [Sun, 10 Nov 2013 14:24:27 +0000 (18:24 +0400)]
grub-reboot no more sets saved_default
Remove reference to grub-default from description of saved default entry.
Also mention that GRUB_DEFAULT=saved depends on availability of environment
block.
Andrey Borzenkov [Sun, 10 Nov 2013 14:20:23 +0000 (18:20 +0400)]
Vladimir Serbinenko [Sun, 10 Nov 2013 13:46:13 +0000 (14:46 +0100)]
* configure.ac: Make efiemu test cflags match the cflags efiemu is
compiled with.
Andrey Borzenkov [Sun, 10 Nov 2013 13:40:47 +0000 (17:40 +0400)]
document GRUB_DISABLE_SUBMENU
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Vladimir Serbinenko [Sun, 10 Nov 2013 12:33:26 +0000 (13:33 +0100)]
Fix grub_machine_fini bitrot.
Reported by: Glenn Washburn.
Vladimir Serbinenko [Sun, 10 Nov 2013 12:24:06 +0000 (13:24 +0100)]
* configure.ac: Remove leftover -fnested-funcions -Wl,-allow_execute.
Vladimir Serbinenko [Sun, 10 Nov 2013 12:13:41 +0000 (13:13 +0100)]
* grub-core/Makefile.am (efiemu): Remove leftover -DAPPLE_CC and
-DELF.
* grub-core/efiemu/runtime/config.h: Use __i386__ and __x86_64__
instead of ELF*.
Vladimir Serbinenko [Sun, 10 Nov 2013 12:10:45 +0000 (13:10 +0100)]
* configure.ac: Restore CFLAGS to TARGET_CFLAGS before external tests.
Add -march=core2 when testing compile of efiemu64.
Thanks Andrey Borzenkov for spotting this.
Vladimir Serbinenko [Sat, 9 Nov 2013 20:29:11 +0000 (21:29 +0100)]
Add new ports: i386-xen and x86_64-xen. This allows running GRUB in
XEN PV environment and load kernels.
Vladimir Serbinenko [Sat, 9 Nov 2013 16:32:37 +0000 (17:32 +0100)]
* grub-core/loader/i386/multiboot_mbi.c: Handle space in command line.
* grub-core/loader/multiboot_mbi2.c: Likewise.
Vladimir Serbinenko [Sat, 9 Nov 2013 16:31:21 +0000 (17:31 +0100)]
* grub-core/lib/cmdline.c (grub_loader_cmdline_size): Fix empty cmdline
handling.
Vladimir Serbinenko [Sat, 9 Nov 2013 16:27:49 +0000 (17:27 +0100)]
* grub-core/commands/i386/cmostest.c: Add new command "cmosset".
Tested by: Denis 'GNUtoo' Carikli.
Vladimir Serbinenko [Fri, 8 Nov 2013 18:14:03 +0000 (19:14 +0100)]
* grub-core/normal/datetime.c (grub_get_weekday): Use unsigned types.
Vladimir Serbinenko [Fri, 8 Nov 2013 18:13:15 +0000 (19:13 +0100)]
* grub-core/gfxmenu/gui_circular_progress.c (parse_angle):
Use to get rounded angle rather than truncated.
Vladimir Serbinenko [Fri, 8 Nov 2013 17:20:20 +0000 (18:20 +0100)]
* grub-core/term/serial.c: Add option for enabling/disabling
RTS/CTS flow control.
Vladimir Serbinenko [Fri, 8 Nov 2013 17:10:07 +0000 (18:10 +0100)]
* grub-core/lib/libgcrypt/cipher/idea.c (mul_inv): Remove signed
divisions.
Vladimir Serbinenko [Fri, 8 Nov 2013 15:33:48 +0000 (16:33 +0100)]
* grub-core/lib/libgcrypt/mpi/mpih-div.c (_gcry_mpih_divrem):
Use grub_fatal rather than divide by zero.
* grub-core/lib/libgcrypt/mpi/mpi-pow.c (gcry_mpi_powm): Likewise.
Vladimir Serbinenko [Fri, 8 Nov 2013 15:17:29 +0000 (16:17 +0100)]
* include/grub/gui.h (grub_fixed_sfs_divide): Round rather than
truncate.
(grub_fixed_fsf_divide): Likewise.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:44:39 +0000 (15:44 +0100)]
* grub-core/gfxmenu/gui_list.c (draw_scrollbar): Avoid
division by-zero and senseless negative divisions.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:43:07 +0000 (15:43 +0100)]
* grub-core/gfxmenu/gui_circular_progress.c (circprog_paint): Avoid
division by-zero and senseless negative divisions.
(circprog_set_property): Don't accept negative num_ticks.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:38:58 +0000 (15:38 +0100)]
* grub-core/gfxmenu/gui_progress_bar.c (draw_pixmap_bar): Avoid
division by-zero and senseless negative divisions.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:10:13 +0000 (15:10 +0100)]
* configure.ac: Use elf_*_fbsd on kfreebsd.
Vladimir Serbinenko [Fri, 8 Nov 2013 14:01:59 +0000 (15:01 +0100)]
* grub-core/tests/div_test.c: New test.
Vladimir Testov [Fri, 8 Nov 2013 11:42:38 +0000 (15:42 +0400)]
* grub-core/gfxmenu/gui_box.c: Updated to work with area status.
* grub-core/gfxmenu/gui_canvas.c: Likewise.
* grub-core/gfxmenu/view.c: Likewise.
* grub-core/video/fb/video_fb.c: Introduce new functions:
grub_video_set_area_status, grub_video_get_area_status,
grub_video_set_region, grub_video_get_region.
* grub-core/video/bochs.c: Likewise.
* grub-core/video/capture.c: Likewise.
* grub-core/video/video.c: Likewise.
* grub-core/video/cirrus.c: Likewise.
* grub-core/video/efi_gop.c: Likewise.
* grub-core/video/efi_uga.c: Likewise.
* grub-core/video/emu/sdl.c: Likewise.
* grub-core/video/radeon_fuloong2e.c: Likewise.
* grub-core/video/sis315pro.c: Likewise.
* grub-core/video/sm712.c: Likewise.
* grub-core/video/i386/pc/vbe.c: Likewise.
* grub-core/video/i386/pc/vga.c: Likewise.
* grub-core/video/ieee1275.c: Likewise.
* grub-core/video/i386/coreboot/cbfb.c: Likewise.
* include/grub/video.h: Likewise.
* include/grub/video_fb.h: Likewise.
* include/grub/fbfill.h: Updated render_target structure.
grub_video_rect_t viewport, region, area
int area_offset_x, area_offset_y, area_enabled
* include/grub/gui.h: New helper function
grub_video_bounds_inside_region.
* docs/grub-dev.texi: Added information about new functions.
Vladimir Serbinenko [Fri, 8 Nov 2013 08:43:26 +0000 (09:43 +0100)]
* grub-core/kern/mm.c (grub_real_malloc): Use AND rather than MOD
for alignment.
Vladimir Serbinenko [Fri, 8 Nov 2013 08:27:56 +0000 (09:27 +0100)]
* grub-core/lib/reed_solomon.c (grub_reed_solomon_recover): Add
missing attribute.
* grub-core/gdb/cstub.c (grub_gdb_trap): Likewise.
Vladimir Serbinenko [Fri, 8 Nov 2013 08:07:33 +0000 (09:07 +0100)]
* grub-core/kern/misc.c (grub_divmod64): Don't fallback to
simple division on arm and ia64.
Vladimir Serbinenko [Fri, 8 Nov 2013 06:35:13 +0000 (07:35 +0100)]
* grub-core/kern/arm/misc.S (__aeabi_unwind_cpp_pr0): Add dummy to
link with libgcc.
Vladimir Serbinenko [Fri, 8 Nov 2013 06:16:15 +0000 (07:16 +0100)]
* include/grub/symbol.h (FUNCTION), (VARIABLE): Fix precedence logic.
Vladimir Serbinenko [Fri, 8 Nov 2013 06:08:27 +0000 (07:08 +0100)]
* include/grub/symbol.h (FUNCTION), (VARIABLE) [__arm__]: Use % as
prefix symbol, not @.
Vladimir Serbinenko [Fri, 8 Nov 2013 05:05:54 +0000 (06:05 +0100)]
* INSTALL: Add note about older gcc and clang.
Vladimir Serbinenko [Fri, 8 Nov 2013 04:22:36 +0000 (05:22 +0100)]
* tests/util/grub-shell.in: Boot as hdd on ppc by default.
Vladimir Serbinenko [Fri, 8 Nov 2013 03:59:46 +0000 (04:59 +0100)]
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_add_module): Fix
NULL pointer dereference.
Vladimir Serbinenko [Thu, 7 Nov 2013 18:33:54 +0000 (19:33 +0100)]
* grub-core/Makefile.am: Do not include libgcc.h when compiling with
clang.
Vladimir Serbinenko [Thu, 7 Nov 2013 18:33:00 +0000 (19:33 +0100)]
* grub-core/kern/powerpc/dl.c: Add missing pragma to silence cast-align
warnings.
Vladimir Serbinenko [Thu, 7 Nov 2013 18:31:22 +0000 (19:31 +0100)]
* grub-core/net/net.c (grub_net_route_unregister): Remove unused
function.
* grub-core/loader/i386/xnu.c (hextoval): Likewise.
* grub-core/disk/geli.c (ascii2hex): Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 17:21:22 +0000 (18:21 +0100)]
* configure.ac: Run linker tests without -Werror.
Define TARGET_LDFLAGS_STATIC_LIBGCC and TARGET_LIBGCC.
Change all occurences of -static-libgcc resp -lgcc to
TARGET_LDFLAGS_STATIC_LIBGCC resp TARGET_LIBGCC.
Vladimir Serbinenko [Thu, 7 Nov 2013 17:18:43 +0000 (18:18 +0100)]
* configure.ac: Don't add -no-itegrated-as on clang on non-x86.
Vladimir Serbinenko [Thu, 7 Nov 2013 10:44:40 +0000 (11:44 +0100)]
Allow compiling with clang (not really supported though).
* conf/Makefile.common (CFLAGS_PLATFORM): Don't add -mrtd -mregparm=3
unconditionally.
* configure.ac: Add -no-integrated-as when using clangfor asm files.
Add -mrtd -mregparm=3 on i386 when not using clang.
* grub-core/kern/misc.c (grub_memset): Add volatile when on clang.
Vladimir Serbinenko [Thu, 7 Nov 2013 09:30:32 +0000 (10:30 +0100)]
* grub-core/kern/ieee1275/cmain.c: Add explicit attribute on asm
bindings.
* grub-core/lib/reed_solomon.c: Likewise.
* include/grub/i386/gdb.h: Likewise.
* include/grub/i386/pc/int.h: Likewise.
* include/grub/i386/pc/pxe.h: Likewise.
* include/grub/ieee1275/ieee1275.h: Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 05:37:01 +0000 (06:37 +0100)]
missing Changelog entry
Vladimir Serbinenko [Thu, 7 Nov 2013 05:35:50 +0000 (06:35 +0100)]
Import libgcrypt 1.5.3.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:35:25 +0000 (03:35 +0100)]
* configure.ac: Don't add -Wcast-align on x86.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:33:20 +0000 (03:33 +0100)]
* configure.ac: Add -freg-struct-return on all platforms that
support it.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:31:24 +0000 (03:31 +0100)]
* acinclude.m4: Use -Werror on parameter tests.
* configure.ac: Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:29:07 +0000 (03:29 +0100)]
* acinclude.m4: Add missing TARGET_CCASFLAGS on asm tests.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:25:30 +0000 (03:25 +0100)]
* configure.ac: Check that -malign-loops works rather than assuming that
either -falign-loops or -malign-loops work.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:19:55 +0000 (03:19 +0100)]
* configure.ac: Remove -fnested-functions. We don't need it anymore.
Vladimir Serbinenko [Thu, 7 Nov 2013 02:17:37 +0000 (03:17 +0100)]
* configure.ac: Prevent cflags leaking to subsequent tests by always
resetting cflags to target_cflags in target tests.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:53:43 +0000 (02:53 +0100)]
* grub-core/kern/parser.c (grub_parser_split_cmdline): Remove nested
function.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:49:50 +0000 (02:49 +0100)]
* grub-core/kern/misc.c (grub_vsnprintf_real): Remove nested functions.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:46:23 +0000 (02:46 +0100)]
* grub-core/lib/arg.c (grub_arg_parse): Remove nested function.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:42:38 +0000 (02:42 +0100)]
* grub-core/normal/cmdline.c (grub_cmdline_get):
Remove nested functions.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:41:09 +0000 (02:41 +0100)]
* tests/test_sha512sum.in: Make it work on emu.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:31:31 +0000 (02:31 +0100)]
* grub-core/normal/charset.c (bidi_line_wrap): Eliminate nested
functions.
(grub_bidi_line_logical_to_visual): Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:25:31 +0000 (02:25 +0100)]
Remove vestiges of -Wunsafe-loop-optimisations.
* conf/Makefile.common (CFLAGS_GNULIB): Remove
-Wno-unsafe-loop-optimisations.
* grub-core/commands/legacycfg.c: Remove -Wunsafe-loop-optimisations
pragma.
* grub-core/io/gzio.c: Likewise.
* grub-core/script/parser.y: Likewise.
* grub-core/script/yylex.l: Likewise.
* util/grub-mkfont.c: Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 01:13:30 +0000 (02:13 +0100)]
* util/grub-mkfont.c (process_cursive): Remove nested function.
Vladimir Serbinenko [Thu, 7 Nov 2013 00:23:06 +0000 (01:23 +0100)]
* include/grub/misc.h (grub_dprintf): Use unnamed vararg.
(grub_boot_time): Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 00:18:21 +0000 (01:18 +0100)]
* include/grub/symbol.h (FUNCTION): Use @function rather than
"function".
(VARIABLE): Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 00:11:36 +0000 (01:11 +0100)]
* grub-core/net/bootp.c (OFFSET_OF): Explicitly cast to grub_size_t.
Vladimir Serbinenko [Thu, 7 Nov 2013 00:09:19 +0000 (01:09 +0100)]
* grub-core/net/bootp.c (set_env_limn_ro): Make pointer const.
(parse_dhcp_vendor): Likewise.
Vladimir Serbinenko [Thu, 7 Nov 2013 00:04:06 +0000 (01:04 +0100)]
* util/grub-mkimagexx.c (relocate_symbols): Remove unneeded brackets.
Vladimir Serbinenko [Thu, 7 Nov 2013 00:01:47 +0000 (01:01 +0100)]
* grub-core/gettext/gettext.c (main_context), (secondary_context):
Define after defining type and not before.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:59:44 +0000 (00:59 +0100)]
* grub-core/fs/zfs/zfscrypt.c (grub_ccm_decrypt): Return right error
type.
(grub_gcm_decrypt): Likewise.
(algo_decrypt): Likewise.
(grub_zfs_decrypt_real): Transform error type.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:57:21 +0000 (00:57 +0100)]
* grub-core/disk/geli.c (geli_rekey): Fix error return type.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:55:17 +0000 (00:55 +0100)]
* grub-core/disk/usbms.c (grub_usbms_cbi_cmd): Fix error type.
(grub_usbms_cbi_reset): Likewise.
(grub_usbms_bo_reset): Likewise.
(grub_usbms_reset): Likewise.
(grub_usbms_attach): Likewise.
(grub_usbms_transfer_cbi): Likewise.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:51:28 +0000 (00:51 +0100)]
* grub-core/io/lzopio.c (test_header): Simplify code and remove useless
"checksum = checksum;".
Vladimir Serbinenko [Wed, 6 Nov 2013 23:48:04 +0000 (00:48 +0100)]
* grub-core/fs/reiserfs.c (grub_reiserfs_iterate_dir): Fix type of
entry_type.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:46:44 +0000 (00:46 +0100)]
* grub-core/commands/legacycfg.c (grub_cmd_legacy_kernel): Fix
BIOS disk check.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:45:15 +0000 (00:45 +0100)]
* grub-core/bus/usb/ehci.c (grub_ehci_restore_hw): Return right enum
type.
(grub_ehci_fini_hw): Likewise.
* grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Likewise.
Vladimir Serbinenko [Wed, 6 Nov 2013 23:35:56 +0000 (00:35 +0100)]
* include/grub/usb.h (grub_usb_controller_dev): Make portstatus
return grub_usb_err_t for cosistency. All users updated.