From: Wols Lists <antlists@youngman.org.uk>
To: Xiao Ni <xni@redhat.com>, Paul Menzel <pmenzel@molgen.mpg.de>
Cc: jsorensen@fb.com, zlliu@suse.com, linux-raid@vger.kernel.org,
Nigel Croxon <ncroxon@redhat.com>
Subject: Re: [mdadm PATCH 1/1] Fix a building error
Date: Tue, 19 Sep 2017 14:33:24 +0100 [thread overview]
Message-ID: <59C11CA4.7060907@youngman.org.uk> (raw)
In-Reply-To: <815339809.11997756.1505827012878.JavaMail.zimbra@redhat.com>
On 19/09/17 14:16, Xiao Ni wrote:
>
>
> ----- Original Message -----
>> From: "Paul Menzel" <pmenzel@molgen.mpg.de>
>> To: "Xiao Ni" <xni@redhat.com>
>> Cc: jsorensen@fb.com, zlliu@suse.com, linux-raid@vger.kernel.org
>> Sent: Tuesday, September 19, 2017 6:24:52 PM
>> Subject: Re: [mdadm PATCH 1/1] Fix a building error
>>
>> Dear Xiao,
>>
>>
>> Please find some comments and nits below.
>
> Hi Paul
>
> Thanks for these suggestions.
>
>>
>> On 09/19/17 12:14, Xiao Ni wrote:
>>> In s390 platform, it gives a building error:
>>
>> s/building error/build error/
>>
>> Maybe: On s390 platform the build fails with the error below.
>
> Ok.
c/On s390/On the s390/
>>
>>> Manage.c: In function 'Manage_subdevs':
>>> Manage.c:1502:5: error: passing argument 3 of 'fstat_is_blkdev' from
>>> incompatible pointer type [-Werror]
>>> fstat_is_blkdev(tfd, dv->devname, &rdev);
>>> ^
>>> In file included from Manage.c:25:0:
>>> mdadm.h:1446:12: note: expected 'dev_t *' but argument is of type 'long
>>> unsigned int *'
>>>
>>> It was introduced by 0a6bff09 and add a temp variable to fix this.
>>
>> Maybe: It is introduced by commit 0a6bff09 (mdadm/util: unify fstat
>> checking blkdev into function). So use a temp variable to fix this.
>
> Yes, the word so is better. Sorry for my pool English.
It's not bad ... :-)
revert with
c/is/was/
Personally I probably wouldn't abbreviate "temporary", but that's a
matter of taste.
>>
>>>
>>> Signed-off-by: Xiao Ni <xni@redhat.com>
>>> ---
Cheers,
Wol
next prev parent reply other threads:[~2017-09-19 13:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-19 10:14 [mdadm PATCH 1/1] Fix a building error Xiao Ni
2017-09-19 10:24 ` Paul Menzel
2017-09-19 13:16 ` Xiao Ni
2017-09-19 13:33 ` Wols Lists [this message]
2017-09-19 14:00 ` Paul Menzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=59C11CA4.7060907@youngman.org.uk \
--to=antlists@youngman.org.uk \
--cc=jsorensen@fb.com \
--cc=linux-raid@vger.kernel.org \
--cc=ncroxon@redhat.com \
--cc=pmenzel@molgen.mpg.de \
--cc=xni@redhat.com \
--cc=zlliu@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.