From: "Matwey V. Kornilov" <matwey@sai.msu.ru>
To: Stanimir Varbanov <svarbanov@mm-sol.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
Mohit Kumar <mohit.kumar@st.com>,
Viresh Kumar <viresh.kumar@linaro.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
Greg KH <gregkh@linuxfoundation.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] pci: spear: Drop __initdata from spear13xx_pcie_driver
Date: Fri, 6 Mar 2015 19:39:13 +0300 [thread overview]
Message-ID: <CAJs94Ea5W7A2ZYR55GPe2vPm2HiUScx+zYm8VwXMvLssrwdJCQ@mail.gmail.com> (raw)
In-Reply-To: <54F9BCDC.5000500@mm-sol.com>
2015-03-06 17:42 GMT+03:00 Stanimir Varbanov <svarbanov@mm-sol.com>:
> On 02/19/2015 07:41 PM, Matwey V. Kornilov wrote:
>> spear13xx_pcie_driver.driver is allocated in text.init section
>> and then the pointer to it is passed futher. This patch is to avoid
>> crashes like the following, when freed memory is used.
>>
>
> What happened with this patch, could it go as a fix?
>
With this patch the kernel works as expected (without crashes), I
think it could be considered as a fix.
--
With best regards,
Matwey V. Kornilov.
Sternberg Astronomical Institute, Lomonosov Moscow State University, Russia
next prev parent reply other threads:[~2015-03-06 16:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 17:41 [PATCH v3] pci: spear: Drop __initdata from spear13xx_pcie_driver Matwey V. Kornilov
2015-02-20 3:35 ` Viresh Kumar
2015-02-20 10:06 ` Stanimir Varbanov
2015-02-20 10:13 ` Matwey V. Kornilov
2015-02-20 14:38 ` Stanimir Varbanov
2015-03-06 14:42 ` Stanimir Varbanov
2015-03-06 16:39 ` Matwey V. Kornilov [this message]
2015-03-06 18:16 ` Bjorn Helgaas
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=CAJs94Ea5W7A2ZYR55GPe2vPm2HiUScx+zYm8VwXMvLssrwdJCQ@mail.gmail.com \
--to=matwey@sai.msu.ru \
--cc=bhelgaas@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mohit.kumar@st.com \
--cc=svarbanov@mm-sol.com \
--cc=viresh.kumar@linaro.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).