Re: [RESEND] rsi: Remove stack VLA usage
"Tobin C. Harding"writes: > On Wed, Mar 14, 2018 at 11:19:53AM +0200, Kalle Valo wrote: >> "Tobin C. Harding" writes: >> >> > Added Konstantin in case he is in charge of administering >> > patchwork.kernel.org? >> > >> > On Tue, Mar 13, 2018 at 07:53:34PM -0700, Kees Cook wrote: >> >> On Tue, Mar 13, 2018 at 7:11 PM, Tobin C. Harding wrote: >> >> > On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: >> >> >> On Tue, Mar 13, 2018 at 10:17 PM, tcharding wrote: >> >> >> > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: >> >> >> >> tcharding wrote: >> >> >> >> >> >> I'm pretty much sure it depends on the original email headers, like >> >> >> above ^^^ — no name. >> >> >> Perhaps git config on your side should be done. >> >> > >> >> > Thanks for the suggestion Andy but the 'tcharding' as the name was >> >> > munged by either Kalle or patchwork. I'm guessing patchwork. >> >> >> >> Something you're sending from is using "tcharding" (see the email Andy >> >> quotes). I see the headers as: >> >> >> >> Date: Wed, 14 Mar 2018 07:17:57 +1100 >> >> From: tcharding >> >> ... >> >> Message-ID: <20180313201757.GK8631@eros> >> >> X-Mailer: Mutt 1.5.24 (2015-08-30) >> >> User-Agent: Mutt/1.5.24 (2015-08-30) >> >> >> >> Your most recently email shows "Tobin C. Harding" though, and also >> >> sent with Mutt... >> >> >> >> Do you have multiple Mutt configurations? Is something lacking a >> >> "From" header insertion and your MTA is filling it in for you from >> >> your username? >> > >> > Thanks for taking the time to respond Kees (and Tycho). I have mutt >> > configured to reply from whichever email address I receive from so if >> > patchwork sent an email to 'tcharding ' (which is the >> > details it has) and I hit reply it would have come from 'tcharding', >> > hence Andy's reply. I wouldn't bet my life on it but I'm kinda >> > confident that I cannot initiate an email from 'tcharding' with my >> > current set up. >> > >> > Super bad form to blame someone (or something else) but I think this is >> > a problem with how my patchwork account is configured. Either way, that >> > is still my fault I should have added my real name to patchwork when I >> > signed up (not just username 'tcharding'). >> > >> > Is patchwork.kernel.org administered by Konstantin Ryabitsev? Added >> > Konstantin to CC's. >> >> Like I said earlier, just send a request to helpd...@kernel.org and >> admins should fix your name. > > thanks Kalle, I'm on it. Thanks. Looks to be fixed, now patchwork gives me: From: Tobin C. Harding -- Kalle Valo
Re: [RESEND] rsi: Remove stack VLA usage
On Wed, Mar 14, 2018 at 11:19:53AM +0200, Kalle Valo wrote: > "Tobin C. Harding"writes: > > > Added Konstantin in case he is in charge of administering > > patchwork.kernel.org? > > > > On Tue, Mar 13, 2018 at 07:53:34PM -0700, Kees Cook wrote: > >> On Tue, Mar 13, 2018 at 7:11 PM, Tobin C. Harding wrote: > >> > On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: > >> >> On Tue, Mar 13, 2018 at 10:17 PM, tcharding wrote: > >> >> > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: > >> >> >> tcharding wrote: > >> >> > >> >> I'm pretty much sure it depends on the original email headers, like > >> >> above ^^^ — no name. > >> >> Perhaps git config on your side should be done. > >> > > >> > Thanks for the suggestion Andy but the 'tcharding' as the name was > >> > munged by either Kalle or patchwork. I'm guessing patchwork. > >> > >> Something you're sending from is using "tcharding" (see the email Andy > >> quotes). I see the headers as: > >> > >> Date: Wed, 14 Mar 2018 07:17:57 +1100 > >> From: tcharding > >> ... > >> Message-ID: <20180313201757.GK8631@eros> > >> X-Mailer: Mutt 1.5.24 (2015-08-30) > >> User-Agent: Mutt/1.5.24 (2015-08-30) > >> > >> Your most recently email shows "Tobin C. Harding" though, and also > >> sent with Mutt... > >> > >> Do you have multiple Mutt configurations? Is something lacking a > >> "From" header insertion and your MTA is filling it in for you from > >> your username? > > > > Thanks for taking the time to respond Kees (and Tycho). I have mutt > > configured to reply from whichever email address I receive from so if > > patchwork sent an email to 'tcharding ' (which is the > > details it has) and I hit reply it would have come from 'tcharding', > > hence Andy's reply. I wouldn't bet my life on it but I'm kinda > > confident that I cannot initiate an email from 'tcharding' with my > > current set up. > > > > Super bad form to blame someone (or something else) but I think this is > > a problem with how my patchwork account is configured. Either way, that > > is still my fault I should have added my real name to patchwork when I > > signed up (not just username 'tcharding'). > > > > Is patchwork.kernel.org administered by Konstantin Ryabitsev? Added > > Konstantin to CC's. > > Like I said earlier, just send a request to helpd...@kernel.org and > admins should fix your name. thanks Kalle, I'm on it.
Re: [RESEND] rsi: Remove stack VLA usage
"Tobin C. Harding"writes: > Added Konstantin in case he is in charge of administering > patchwork.kernel.org? > > On Tue, Mar 13, 2018 at 07:53:34PM -0700, Kees Cook wrote: >> On Tue, Mar 13, 2018 at 7:11 PM, Tobin C. Harding wrote: >> > On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: >> >> On Tue, Mar 13, 2018 at 10:17 PM, tcharding wrote: >> >> > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: >> >> >> tcharding wrote: >> >> >> >> I'm pretty much sure it depends on the original email headers, like >> >> above ^^^ — no name. >> >> Perhaps git config on your side should be done. >> > >> > Thanks for the suggestion Andy but the 'tcharding' as the name was >> > munged by either Kalle or patchwork. I'm guessing patchwork. >> >> Something you're sending from is using "tcharding" (see the email Andy >> quotes). I see the headers as: >> >> Date: Wed, 14 Mar 2018 07:17:57 +1100 >> From: tcharding >> ... >> Message-ID: <20180313201757.GK8631@eros> >> X-Mailer: Mutt 1.5.24 (2015-08-30) >> User-Agent: Mutt/1.5.24 (2015-08-30) >> >> Your most recently email shows "Tobin C. Harding" though, and also >> sent with Mutt... >> >> Do you have multiple Mutt configurations? Is something lacking a >> "From" header insertion and your MTA is filling it in for you from >> your username? > > Thanks for taking the time to respond Kees (and Tycho). I have mutt > configured to reply from whichever email address I receive from so if > patchwork sent an email to 'tcharding ' (which is the > details it has) and I hit reply it would have come from 'tcharding', > hence Andy's reply. I wouldn't bet my life on it but I'm kinda > confident that I cannot initiate an email from 'tcharding' with my > current set up. > > Super bad form to blame someone (or something else) but I think this is > a problem with how my patchwork account is configured. Either way, that > is still my fault I should have added my real name to patchwork when I > signed up (not just username 'tcharding'). > > Is patchwork.kernel.org administered by Konstantin Ryabitsev? Added > Konstantin to CC's. Like I said earlier, just send a request to helpd...@kernel.org and admins should fix your name. -- Kalle Valo
Re: [RESEND] rsi: Remove stack VLA usage
"Tobin C. Harding"writes: > On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: >> On Tue, Mar 13, 2018 at 10:17 PM, tcharding wrote: >> > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: >> >> tcharding wrote: >> >> I'm pretty much sure it depends on the original email headers, like >> above ^^^ — no name. >> Perhaps git config on your side should be done. > > Thanks for the suggestion Andy but the 'tcharding' as the name was > munged by either Kalle or patchwork. I'm guessing patchwork. You guessed corretly, patchwork is here to blame. I sent my "please rebase" mail earlier in this thread using my custom patchwork client script (pwcli) which takes the name and address from patchwork. Andy, this is definitely a bug in patchwork and I have seen this issue multiple times already. I have understood that it has been fixed in a recent version but patchwork.kernel.org is still running an old version. In the original mail Tobin did have the correct From header which can be checked from the headers in patch page[1]: From: "Tobin C. Harding" [1] https://patchwork.kernel.org/patch/10274983/ -- Kalle Valo
Re: [RESEND] rsi: Remove stack VLA usage
tchardingwrites: > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: >> tcharding wrote: >> >> > The kernel would like to have all stack VLA usage removed[1]. rsi uses >> > a VLA based on 'blksize'. Elsewhere in the SDIO code maximum block size >> > is defined using a magic number. We can use a pre-processor defined >> > constant and declare the array to maximum size. We add a check before >> > accessing the array in case of programmer error. >> > >> > [1]: https://lkml.org/lkml/2018/3/7/621 >> > >> > Signed-off-by: Tobin C. Harding >> >> Tobin, your name in patchwork.kernel.org is just "tcharding" then it should >> be >> "Tobin C. Harding". Patchwork is braindead in a way as it takes the name from >> it's database instead of the From header of the patch in question. >> >> I can fix that manually but it would be helpful if you could register to >> patchwork and fix your name during registration. You have only one chance to >> fix your name (another braindead feature!) so be careful :) > > Hi Kalle, > > I logged into my patchwork account but I don't see any way to set the > name. Within 'profile' there is only 'change password' and 'link > email'. I thought I could unregister then re-register but I can't see > how to do that either. Ok, maybe you have registered (=logged on for the first time) already earlier so it's not possible to change the name anymore. > Is there a maintainer of patchwork.kernel.org who I can email to > manually remove me from the system? helpd...@kernel.org should be able to fix your name in patchwork, at least they have done it in the past. This is not the first time this has happened. -- Kalle Valo
Re: [RESEND] rsi: Remove stack VLA usage
Added Konstantin in case he is in charge of administering patchwork.kernel.org? On Tue, Mar 13, 2018 at 07:53:34PM -0700, Kees Cook wrote: > On Tue, Mar 13, 2018 at 7:11 PM, Tobin C. Hardingwrote: > > On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: > >> On Tue, Mar 13, 2018 at 10:17 PM, tcharding wrote: > >> > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: > >> >> tcharding wrote: > >> > >> I'm pretty much sure it depends on the original email headers, like > >> above ^^^ — no name. > >> Perhaps git config on your side should be done. > > > > Thanks for the suggestion Andy but the 'tcharding' as the name was > > munged by either Kalle or patchwork. I'm guessing patchwork. > > Something you're sending from is using "tcharding" (see the email Andy > quotes). I see the headers as: > > Date: Wed, 14 Mar 2018 07:17:57 +1100 > From: tcharding > ... > Message-ID: <20180313201757.GK8631@eros> > X-Mailer: Mutt 1.5.24 (2015-08-30) > User-Agent: Mutt/1.5.24 (2015-08-30) > > Your most recently email shows "Tobin C. Harding" though, and also > sent with Mutt... > > Do you have multiple Mutt configurations? Is something lacking a > "From" header insertion and your MTA is filling it in for you from > your username? Thanks for taking the time to respond Kees (and Tycho). I have mutt configured to reply from whichever email address I receive from so if patchwork sent an email to 'tcharding ' (which is the details it has) and I hit reply it would have come from 'tcharding', hence Andy's reply. I wouldn't bet my life on it but I'm kinda confident that I cannot initiate an email from 'tcharding' with my current set up. Super bad form to blame someone (or something else) but I think this is a problem with how my patchwork account is configured. Either way, that is still my fault I should have added my real name to patchwork when I signed up (not just username 'tcharding'). Is patchwork.kernel.org administered by Konstantin Ryabitsev? Added Konstantin to CC's. thanks, Tobin.
Re: [RESEND] rsi: Remove stack VLA usage
On Tue, Mar 13, 2018 at 7:11 PM, Tobin C. Hardingwrote: > On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: >> On Tue, Mar 13, 2018 at 10:17 PM, tcharding wrote: >> > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: >> >> tcharding wrote: >> >> I'm pretty much sure it depends on the original email headers, like >> above ^^^ — no name. >> Perhaps git config on your side should be done. > > Thanks for the suggestion Andy but the 'tcharding' as the name was > munged by either Kalle or patchwork. I'm guessing patchwork. Something you're sending from is using "tcharding" (see the email Andy quotes). I see the headers as: Date: Wed, 14 Mar 2018 07:17:57 +1100 From: tcharding ... Message-ID: <20180313201757.GK8631@eros> X-Mailer: Mutt 1.5.24 (2015-08-30) User-Agent: Mutt/1.5.24 (2015-08-30) Your most recently email shows "Tobin C. Harding" though, and also sent with Mutt... Do you have multiple Mutt configurations? Is something lacking a "From" header insertion and your MTA is filling it in for you from your username? -Kees -- Kees Cook Pixel Security
Re: [RESEND] rsi: Remove stack VLA usage
On Tue, Mar 13, 2018 at 11:00:47PM +0200, Andy Shevchenko wrote: > On Tue, Mar 13, 2018 at 10:17 PM, tchardingwrote: > > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: > >> tcharding wrote: > > I'm pretty much sure it depends on the original email headers, like > above ^^^ — no name. > Perhaps git config on your side should be done. Thanks for the suggestion Andy but the 'tcharding' as the name was munged by either Kalle or patchwork. I'm guessing patchwork. thanks, Tobin.
Re: [RESEND] rsi: Remove stack VLA usage
On Tue, Mar 13, 2018 at 10:17 PM, tchardingwrote: > On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: >> tcharding wrote: I'm pretty much sure it depends on the original email headers, like above ^^^ — no name. Perhaps git config on your side should be done. -- With Best Regards, Andy Shevchenko
Re: [RESEND] rsi: Remove stack VLA usage
On Mon, Mar 12, 2018 at 09:46:06AM +, Kalle Valo wrote: > tchardingwrote: > > > The kernel would like to have all stack VLA usage removed[1]. rsi uses > > a VLA based on 'blksize'. Elsewhere in the SDIO code maximum block size > > is defined using a magic number. We can use a pre-processor defined > > constant and declare the array to maximum size. We add a check before > > accessing the array in case of programmer error. > > > > [1]: https://lkml.org/lkml/2018/3/7/621 > > > > Signed-off-by: Tobin C. Harding > > Tobin, your name in patchwork.kernel.org is just "tcharding" then it should be > "Tobin C. Harding". Patchwork is braindead in a way as it takes the name from > it's database instead of the From header of the patch in question. > > I can fix that manually but it would be helpful if you could register to > patchwork and fix your name during registration. You have only one chance to > fix your name (another braindead feature!) so be careful :) Hi Kalle, I logged into my patchwork account but I don't see any way to set the name. Within 'profile' there is only 'change password' and 'link email'. I thought I could unregister then re-register but I can't see how to do that either. Is there a maintainer of patchwork.kernel.org who I can email to manually remove me from the system? thanks, Tobin.
Re: [RESEND] rsi: Remove stack VLA usage
"Tobin C. Harding"wrote: > The kernel would like to have all stack VLA usage removed[1]. rsi uses > a VLA based on 'blksize'. Elsewhere in the SDIO code maximum block size > is defined using a magic number. We can use a pre-processor defined > constant and declare the array to maximum size. We add a check before > accessing the array in case of programmer error. > > [1]: https://lkml.org/lkml/2018/3/7/621 > > Signed-off-by: Tobin C. Harding There were conflicts. Can you rebase on top of wireless-drivers-next and resend, please? Recorded preimage for 'drivers/net/wireless/rsi/rsi_91x_sdio.c' error: Failed to merge in the changes. Applying: rsi: Remove stack VLA usage Using index info to reconstruct a base tree... M drivers/net/wireless/rsi/rsi_91x_hal.c M drivers/net/wireless/rsi/rsi_91x_sdio.c Falling back to patching base and 3-way merge... Auto-merging drivers/net/wireless/rsi/rsi_91x_sdio.c CONFLICT (content): Merge conflict in drivers/net/wireless/rsi/rsi_91x_sdio.c Auto-merging drivers/net/wireless/rsi/rsi_91x_hal.c Patch failed at 0001 rsi: Remove stack VLA usage The copy of the patch that failed is found in: .git/rebase-apply/patch Patch set to Changes Requested. -- https://patchwork.kernel.org/patch/10274983/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: [RESEND] rsi: Remove stack VLA usage
tchardingwrote: > The kernel would like to have all stack VLA usage removed[1]. rsi uses > a VLA based on 'blksize'. Elsewhere in the SDIO code maximum block size > is defined using a magic number. We can use a pre-processor defined > constant and declare the array to maximum size. We add a check before > accessing the array in case of programmer error. > > [1]: https://lkml.org/lkml/2018/3/7/621 > > Signed-off-by: Tobin C. Harding Tobin, your name in patchwork.kernel.org is just "tcharding" then it should be "Tobin C. Harding". Patchwork is braindead in a way as it takes the name from it's database instead of the From header of the patch in question. I can fix that manually but it would be helpful if you could register to patchwork and fix your name during registration. You have only one chance to fix your name (another braindead feature!) so be careful :) -- https://patchwork.kernel.org/patch/10274983/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches