Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 614
b: refs/heads/master
c: 1ddb8a1
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Apr 30, 2005
1 parent 7a8d759 commit 5dc1a0a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49e7dc54cd4cbdb439ecc4e06214b0ca1a1a72b4
refs/heads/master: 1ddb8a16aa0e60e7fdc48b1f532cf43e692f8fae
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/kernel/signal32.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static int handle_rt_signal32(unsigned long sig, struct k_sigaction *ka,

/* Save user registers on the stack */
frame = &rt_sf->uc.uc_mcontext;
if (put_user(regs->gpr[1], (u32 __user *)newsp))
if (put_user(regs->gpr[1], (unsigned long __user *)newsp))
goto badframe;

if (vdso32_rt_sigtramp && current->thread.vdso_base) {
Expand Down Expand Up @@ -842,7 +842,7 @@ static int handle_signal32(unsigned long sig, struct k_sigaction *ka,
regs->link = (unsigned long) frame->mctx.tramp;
}

if (put_user(regs->gpr[1], (u32 __user *)newsp))
if (put_user(regs->gpr[1], (unsigned long __user *)newsp))
goto badframe;
regs->gpr[1] = (unsigned long) newsp;
regs->gpr[3] = sig;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/amba-clcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ clcdfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green,
convert_bitfield(green, &fb->fb.var.green) |
convert_bitfield(red, &fb->fb.var.red);

if (fb->fb.var.bits_per_pixel == 8 && regno < 256) {
if (fb->fb.fix.visual == FB_VISUAL_PSEUDOCOLOR && regno < 256) {
int hw_reg = CLCD_PALETTE + ((regno * 2) & ~3);
u32 val, mask, newval;

Expand Down
4 changes: 1 addition & 3 deletions trunk/fs/cifs/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ Fix error mapping of the TOO_MANY_LINKS (hardlinks) case.
Do not oops if root user kills cifs oplock kernel thread or
kills the cifsd thread (NB: killing the cifs kernel threads is not
recommended, unmount and rmmod cifs will kill them when they are
no longer needed). Fix readdir to ASCII servers (ie older servers
which do not support Unicode) and also require asterik.

no longer needed).

Version 1.33
------------
Expand Down
12 changes: 2 additions & 10 deletions trunk/fs/cifs/TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version 1.34 April 29, 2005
version 1.32 April 3, 2005

A Partial List of Missing Features
==================================
Expand Down Expand Up @@ -70,15 +70,7 @@ r) Implement O_DIRECT flag on open (already supported on mount)
s) Allow remapping of last remaining character (\) to +0xF000 which
(this character is valid for POSIX but not for Windows)

t) Create UID mapping facility so server UIDs can be mapped on a per
mount or a per server basis to client UIDs or nobody if no mapping
exists. This is helpful when Unix extensions are negotiated to
allow better permission checking when UIDs differ on the server
and client. Add new protocol request to the CIFS protocol
standard for asking the server for the corresponding name of a
particular uid.

KNOWN BUGS (updated April 29, 2005)
KNOWN BUGS (updated April 3, 2005)
====================================
See http://bugzilla.samba.org - search on product "CifsVFS" for
current bug list.
Expand Down
6 changes: 2 additions & 4 deletions trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2451,14 +2451,12 @@ CIFSFindFirst(const int xid, struct cifsTconInfo *tcon,
name_len += 2;
} else { /* BB add check for overrun of SMB buf BB */
name_len = strnlen(searchName, PATH_MAX);
name_len++; /* trailing null */
/* BB fix here and in unicode clause above ie
if(name_len > buffersize-header)
free buffer exit; BB */
strncpy(pSMB->FileName, searchName, name_len);
pSMB->FileName[name_len] = '\\';
pSMB->FileName[name_len+1] = '*';
pSMB->FileName[name_len+2] = 0;
name_len += 3;
pSMB->FileName[name_len] = 0; /* just in case */
}

params = 12 + name_len /* includes null */ ;
Expand Down

0 comments on commit 5dc1a0a

Please sign in to comment.