| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Somewhat hard to read and the code base already has many overlong
lines.
Found with below spatch file and some manual editing in ax25/access.c
to restore a comment lost by spatch.
@parens@
expression E, F, G;
binary operator X;
statement S;
@@
- if ((E = F) X G)
+ E = F;
+ if (E X G)
S
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
This uses a setlocalversion script derived from the kernel's
scripts/setlocalversion.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -g -O2 -Wall -MT nrsdrv.o -MD -MP -MF .deps/nrsdrv.Tpo -c -o nrsdrv.o nrsdrv.c
nrsdrv.c: In function ‘main’:
nrsdrv.c:438:15: warning: pointer targets in passing argument 1 of ‘kiss_unesc’ differ in signedness [-Wpointer-sign]
kiss_unesc(buffer, n);
^
nrsdrv.c:246:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’
static void kiss_unesc(unsigned char *buffer, int len)
^
nrsdrv.c:449:14: warning: pointer targets in passing argument 1 of ‘nrs_unesc’ differ in signedness [-Wpointer-sign]
nrs_unesc(buffer, n);
^
nrsdrv.c:192:13: note: expected ‘unsigned char *’ but argument is of type ‘char *’
static void nrs_unesc(unsigned char *buffer, int len)
^
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Indentation by tabs only. Move case labels in switches are on the same
level as the switch keyword.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
They only inflate the .data section of the binary. Initializations to
FALSE are still left to do.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|