all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35071: [PATCH]  Optimization calculation expression of Macro
@ 2019-04-01 10:08 Milo Wenxiang Niu
  2019-04-01 14:46 ` Basil L. Contovounesios
  0 siblings, 1 reply; 2+ messages in thread
From: Milo Wenxiang Niu @ 2019-04-01 10:08 UTC (permalink / raw)
  To: 35071; +Cc: Milo Wenxiang Niu

From: Milo Wenxiang Niu <mailist1go@gmail.com>

	    * include/grub/kernel.h: <FOR_MODULES(var)>:
			optimization expression that caculate next var.
---
 include/grub/kernel.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/grub/kernel.h b/include/grub/kernel.h
index 133a37c..fee7f66 100644
--- a/include/grub/kernel.h
+++ b/include/grub/kernel.h
@@ -104,7 +104,7 @@ extern grub_addr_t EXPORT_VAR (grub_modbase);
   var && (grub_addr_t) var \
     < (grub_modbase + (((struct grub_module_info *) grub_modbase)->size));    \
   var = (struct grub_module_header *)					\
-    (((grub_uint32_t *) var) + ((((struct grub_module_header *) var)->size + sizeof (grub_addr_t) - 1) / sizeof (grub_addr_t)) * (sizeof (grub_addr_t) / sizeof (grub_uint32_t))))
+	(((grub_uint32_t *) var) + (((struct grub_module_header *) var)->size + sizeof (grub_addr_t) -1) / sizeof (grub_uint32_t)))
 
 grub_addr_t grub_modules_get_end (void);
 
-- 
1.8.3.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#35071: [PATCH]  Optimization calculation expression of Macro
  2019-04-01 10:08 bug#35071: [PATCH] Optimization calculation expression of Macro Milo Wenxiang Niu
@ 2019-04-01 14:46 ` Basil L. Contovounesios
  0 siblings, 0 replies; 2+ messages in thread
From: Basil L. Contovounesios @ 2019-04-01 14:46 UTC (permalink / raw)
  To: Milo Wenxiang Niu; +Cc: 35071-done, Milo Wenxiang Niu

tags 35071 notabug
quit

Milo Wenxiang Niu <printer_bzu@163.com> writes:

> From: Milo Wenxiang Niu <mailist1go@gmail.com>
>
> 	    * include/grub/kernel.h: <FOR_MODULES(var)>:
> 			optimization expression that caculate next var.

Emacs may make for a good bootloader lacking a decent text editor, but I
nevertheless think this was sent to the wrong bug tracker. ;)

The GRUB project seems to use a bug tracker hosted on Savannah[1], as
mentioned under (info "(grub) Reporting bugs")[2].

[1]: https://savannah.gnu.org/bugs/?group=grub
[2]: https://www.gnu.org/software/grub/manual/grub/html_node/Reporting-bugs.html

HTH,

-- 
Basil





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-01 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-01 10:08 bug#35071: [PATCH] Optimization calculation expression of Macro Milo Wenxiang Niu
2019-04-01 14:46 ` Basil L. Contovounesios

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.