mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-24 00:54:20 +00:00
rtl8188eu: Change "while(" to "while ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6ead3e77dc
commit
8e22f0d2e8
37 changed files with 151 additions and 151 deletions
|
@ -920,7 +920,7 @@ static int readFile(struct file *fp,char *buf,int len)
|
|||
if (!fp->f_op || !fp->f_op->read)
|
||||
return -EPERM;
|
||||
|
||||
while(sum<len) {
|
||||
while (sum<len) {
|
||||
rlen=fp->f_op->read(fp,(char __user *)buf+sum,len-sum, &fp->f_pos);
|
||||
if (rlen>0)
|
||||
sum+=rlen;
|
||||
|
@ -941,7 +941,7 @@ static int writeFile(struct file *fp,char *buf,int len)
|
|||
if (!fp->f_op || !fp->f_op->write)
|
||||
return -EPERM;
|
||||
|
||||
while(sum<len) {
|
||||
while (sum<len) {
|
||||
wlen=fp->f_op->write(fp,(char __user *)buf+sum,len-sum, &fp->f_pos);
|
||||
if (wlen>0)
|
||||
sum+=wlen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue