All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] confusing error message in common/update.c
@ 2017-03-29 13:45 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2017-03-29 13:45 UTC (permalink / raw)
  To: u-boot


  at the top of that file:

#if !(defined(CONFIG_FIT) && defined(CONFIG_OF_LIBFDT))
#error "CONFIG_FIT and CONFIG_OF_LIBFDT are required for auto-update feature"
#endif

#if defined(CONFIG_UPDATE_TFTP) && !defined(CONFIG_MTD_NOR_FLASH)
#error "CONFIG_UPDATE_TFTP and !CONFIG_MTD_NOR_FLASH needed for legacy behaviour"
#endif

  i get the first #error message, it actually matches the test being
done. but that second error message doesn't seem to make sense in
terms of matching what is being tested; it seems to be testing two
conditions, then generating an #error message saying that what seems
to be true is exactly what is "needed."

  am i just misreading that?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-29 13:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 13:45 [U-Boot] confusing error message in common/update.c Robert P. J. Day

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.