| #
5d97dff0 |
| 21-Sep-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
treewide: replace #include <asm-generic/errno.h> with <linux/errno.h>
Now, include/linux/errno.h is a wrapper of <asm-generic/errno.h>. Replace all include directives for <asm-generic/errno.h> with
treewide: replace #include <asm-generic/errno.h> with <linux/errno.h>
Now, include/linux/errno.h is a wrapper of <asm-generic/errno.h>. Replace all include directives for <asm-generic/errno.h> with <linux/errno.h>.
<asm-generic/...> is supposed to be included from <asm/...> when arch-headers fall back into generic implementation. Generally, they should not be directly included from .c files.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Add drivers/usb/host/xhci-rockchip.c] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
99b82757 |
| 06-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-tegra
|
| #
862887d8 |
| 08-May-2016 |
Simon Glass <sjg@chromium.org> |
errno: Allow errno_str() to be used without CONFIG_ERRNO_STR
The pmic framework uses errno_str() and this requires board that use it to enable CONFIG_ERRNO_STR to avoid a build error. Update the hea
errno: Allow errno_str() to be used without CONFIG_ERRNO_STR
The pmic framework uses errno_str() and this requires board that use it to enable CONFIG_ERRNO_STR to avoid a build error. Update the header to provide a NULL error message when CONFIG_ERRNO_STR is not defined, and fix the build error.
This will show as "(null)" when U-Boot prints it.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
show more ...
|
| #
00e9e6d1 |
| 08-May-2016 |
Simon Glass <sjg@chromium.org> |
errno: Add copyright header and header guard
Bring in a copyright for this file from cmd/pmic.c since this file was submitted by the same author at around the same time. Also fix the missing header
errno: Add copyright header and header guard
Bring in a copyright for this file from cmd/pmic.c since this file was submitted by the same author at around the same time. Also fix the missing header guard.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
show more ...
|
| #
a5a58826 |
| 12-Dec-2014 |
Tom Rini <trini@ti.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
59345b1f |
| 08-Oct-2014 |
Przemyslaw Marczak <p.marczak@samsung.com> |
lib: errno: introduce errno_str(): returns errno related message
The functions error's numbers are standarized - but the error messages are not.
The errors are often handled with unclear error mess
lib: errno: introduce errno_str(): returns errno related message
The functions error's numbers are standarized - but the error messages are not.
The errors are often handled with unclear error messages, so why not use an errno standarized messages.
Advantages: - This could decrease the binary size. - Appended with a detailed information, the error message will be clear.
This commit introduces new function: - const char *errno_to_str(int errno)
The functions returns a pointer to the errno corresponding text message: - if errno is null or positive number - a pointer to "Success" message - if errno is negative - a pointer to errno related message
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Reviewed-by: Tom Rini <trini@ti.com>
show more ...
|
| #
2e6e1772 |
| 28-Sep-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'next' of /home/wd/git/u-boot/next
Conflicts: include/ppc4xx.h
Signed-off-by: Wolfgang Denk <wd@denx.de>
|
| #
65cd3fa8 |
| 11-Jun-2010 |
Wolfgang Denk <wd@denx.de> |
Add basic errno support.
Needed for hash table support; probably useful in a lot of other places as well.
Signed-off-by: Wolfgang Denk <wd@denx.de>
|