Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592265

Re: [PATCH v3 0/5] Fixed compilation error

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 0/5] Fixed compilation error
Date 2017-03-03 21:20 +0100
Message-ID <th1Qe-6jM-13@gated-at.bofh.it> (permalink)
References <tgTSG-Aj-27@gated-at.bofh.it> <tgXMC-3jh-21@gated-at.bofh.it> <tgYfE-3Kq-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2017-03-03 at 21:35 +0530, SIMRAN SINGHAL wrote:
> On Fri, Mar 3, 2017 at 9:20 PM, Joe Perches <joe@perches.com> wrote:
> > On Fri, 2017-03-03 at 17:05 +0530, simran singhal wrote:
> > > Fixed compilation warning in lustre/lustre/llite/range_lock.c
> > 
> > Really?  What compilation warning was removed?
> 
> CC [M]  drivers/staging/lustre/lustre/mgc/mgc_request.o
> drivers/staging/lustre/lustre/mgc/mgc_request.c: In function
> ‘mgc_set_info_async’:
> drivers/staging/lustre/lustre/mgc/mgc_request.c:1036:115: warning:
> format ‘%s’ expects argument of type ‘char *’, but argument 3 has type
> ‘void *’ [-Wformat=]
> 
> I was getting this warning because of changing (char *)val to val
> where val is a pointer to void.
> So I fixed this by reverting this change.

Wrong thought.

Your original defective patches were not applied and
this is a simple revision to those defective patches
that do not include defects.

As Julia has said, you should use the imperative and
describe the change that this patch series implements.

i.e:

Subject: [PATCH V3 0/5] staging: Remove unnecessary casts

Casting void pointers to another undereferenced type is
generally unnecessary so remove the unnecessary casts.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/5] Fixed compilation error simran singhal <singhalsimran0@gmail.com> - 2017-03-03 14:30 +0100
  [PATCH v3 4/5] staging: rts5208: Remove unnecessary cast on void pointer simran singhal <singhalsimran0@gmail.com> - 2017-03-03 15:30 +0100
  Re: [PATCH v3 0/5] Fixed compilation error Joe Perches <joe@perches.com> - 2017-03-03 17:00 +0100
    Re: [Outreachy kernel] Re: [PATCH v3 0/5] Fixed compilation error Julia Lawall <julia.lawall@lip6.fr> - 2017-03-03 17:30 +0100
      Re: [Outreachy kernel] Re: [PATCH v3 0/5] Fixed compilation error SIMRAN SINGHAL <singhalsimran0@gmail.com> - 2017-03-03 17:40 +0100
    Re: [PATCH v3 0/5] Fixed compilation error SIMRAN SINGHAL <singhalsimran0@gmail.com> - 2017-03-03 17:40 +0100
      Re: [PATCH v3 0/5] Fixed compilation error Joe Perches <joe@perches.com> - 2017-03-03 21:20 +0100
  [PATCH v3 3/5] staging: lustre: lustre: Remove unnecessary cast on void pointer simran singhal <singhalsimran0@gmail.com> - 2017-03-03 17:00 +0100

csiph-web