X-GM-THRID: 6670745270189293568 Date: Sun, 24 Mar 2019 10:24:26 -0700 (PDT) From: sanjana99reddy99@gmail.com To: outreachy-kernel Message-Id: <89c7faed-8237-4f06-962b-e84fe11eaa80@googlegroups.com> In-Reply-To: References: <20190323112807.9804-1-sanjana99reddy99@gmail.com> <20190324085923.GA32103@kroah.com> Subject: Re: [Outreachy kernel] Re: [PATCH v2] staging: greybus: svc_watchdog: Modify char* array declaration. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1277_1287022295.1553448266976" X-Google-Token: EMr63uQFXbQBXfW_YS00 X-Google-IP: 219.91.183.91 ------=_Part_1277_1287022295.1553448266976 Content-Type: multipart/alternative; boundary="----=_Part_1278_1350882347.1553448266976" ------=_Part_1278_1350882347.1553448266976 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sunday, March 24, 2019 at 2:52:51 PM UTC+5:30, sanjana9...@gmail.com=20 wrote: > > > > On Sunday, March 24, 2019 at 2:35:46 PM UTC+5:30, Julia Lawall wrote: >> >> >> >> On Sun, 24 Mar 2019, Greg KH wrote:=20 >> >> > On Sat, Mar 23, 2019 at 04:58:07PM +0530, Sanjana Sanikommu wrote:=20 >> > > Modify "static char* array" to "static char* const array".=20 >> > > Issue found using checkpatch.pl=20 >> > >=20 >> > > WARNING:char* array declaration might be better as static constant= =20 >> > >=20 >> > > Signed-off-by: Sanjana Sanikommu =20 >> > > ---=20 >> > > Changes in v2:=20 >> > > Test build the patch=20 >> >=20 >> > No you did not :(=20 >> >=20 >> > It blows up the build into tiny pieces. Please properly test build=20 >> your=20 >> > patches before sending them in.=20 >> >> Sarjana,=20 >> >> Try make allyesconfig to make it more likely to have a configuration tha= t=20 >> will actually cause compiling the driver.=20 >> > =20 > I would do that :) > thank you > Sorry, I was dumb I now understand why it went wrong=20 because the expected is =E2=80=98char **=E2=80=99 but argument is of= type =E2=80=98const=20 char **=E2=80=99. So it cant be changed. =20 > Sanjana=20 > >> >> julia=20 >> >> >=20 >> > greg k-h=20 >> >=20 >> > --=20 >> > You received this message because you are subscribed to the Google=20 >> Groups "outreachy-kernel" group.=20 >> > To unsubscribe from this group and stop receiving emails from it, send= =20 >> an email to outreachy-kern...@googlegroups.com.=20 >> > To post to this group, send email to outreach...@googlegroups.com.=20 >> > To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/outreachy-kernel/20190324085923.GA3210= 3%40kroah.com.=20 >> >> > For more options, visit https://groups.google.com/d/optout.=20 >> >=20 >> > ------=_Part_1278_1350882347.1553448266976 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable


On Sunday, March 24, 2019 at 2:52:51 PM UTC+5:30, = sanjana9...@gmail.com wrote:


On Sunday, March 24, 2019 at 2:35:46 PM UTC+5:30, Ju= lia Lawall wrote:


On Sun, 24 Mar 2019, Greg KH wrote:

> On Sat, Mar 23, 2019 at 04:58:07PM +0530, Sanjana Sanikommu wrote:
> > Modify "static char* array" to "static char* c= onst array".
> > Issue found using checkpatch.pl
> >
> > WARNING:char* array declaration might be better as static con= stant
> >
> > Signed-off-by: Sanjana Sanikommu <sanj= ana9...@gmail.com>
> > ---
> > Changes in v2:
> > Test build the patch
>
> No you did not :(
>
> It blows up the build into tiny pieces. =C2=A0Please properly test= build your
> patches before sending them in.

Sarjana,

Try make allyesconfig to make it more likely to have a configuration th= at
will actually cause compiling the driver.
=C2=A0 =C2=A0
=C2=A0 =C2=A0I would do that = :)
=C2=A0 =C2=A0thank you

=
=C2=A0 =C2=A0 =C2=A0 =C2=A0Sorry, I was dumb I now understand why it w= ent wrong=C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0because the expected i= s =E2=80=98char **=E2=80=99 but argument is of type =E2=80=98const char **= =E2=80=99.
=C2=A0 =C2=A0 =C2=A0 =C2=A0So it cant be changed.
=C2=A0
=C2=A0 =C2=A0Sanjana=C2=A0

julia

>
> greg k-h
>
> --
> You received this message because you are subscribed to the Google= Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, = send an email to outreachy-kern...@googlegroups.co= m.
> To post to this group, send email to outreach.= ..@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190324085= 923.GA32103%40kroah.com.
> For more options, visit https://groups.go= ogle.com/d/optout.
>
------=_Part_1278_1350882347.1553448266976-- ------=_Part_1277_1287022295.1553448266976--