summaryrefslogtreecommitdiff
path: root/lib/circbuf.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: circbuf: avoid possible null pointer dereferencexypron.glpk@gmx.de2017-05-051-2/+6
| | | | | | | | | We should not first dereference p and afterwards assert that is was not NULL. Instead do the assert first. The problem was indicated by cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
* Add GPL-2.0+ SPDX-License-Identifier to source filesWolfgang Denk2013-07-241-14/+1
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
* Rename lib_generic/ to lib/Peter Tyser2010-04-131-0/+110
Now that the other architecture-specific lib directories have been moved out of the top-level directory there's not much reason to have the '_generic' suffix on the common lib directory. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>