Hi Greert Uytterhoeven,
On 2/15/2023 1:37 PM, Geert Uytterhoeven wrote:
Hi Srinivasarao,
On Wed, Feb 15, 2023 at 6:36 AM Srinivasarao Pathipati
wrote:
On 2/15/2023 3:27 AM, Richard Weinberger wrote:
- Ursprüngliche Mail -
Von: "Srinivasarao Pathipati"
static void sig_handler_common
On Tue, 2023-02-14 at 22:57 +0100, Richard Weinberger wrote:
> - Ursprüngliche Mail -
> > Von: "Srinivasarao Pathipati"
> > static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
> > {
> > - struct uml_pt_regs r;
> > + struct uml_pt_regs *r;
> > int save_errno
On Wed, 2023-02-15 at 09:07 +0100, Geert Uytterhoeven wrote:
> Hi Srinivasarao,
>
> On Wed, Feb 15, 2023 at 6:36 AM Srinivasarao Pathipati
> wrote:
> > On 2/15/2023 3:27 AM, Richard Weinberger wrote:
> > > - Ursprüngliche Mail -
> > > > Von: "Srinivasarao Pathipati"
> > > > static void s
Hi Srinivasarao,
On Wed, Feb 15, 2023 at 6:36 AM Srinivasarao Pathipati
wrote:
> On 2/15/2023 3:27 AM, Richard Weinberger wrote:
> > - Ursprüngliche Mail -
> >> Von: "Srinivasarao Pathipati"
> >> static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
> >> {
> >> -
On 2/15/2023 3:27 AM, Richard Weinberger wrote:
- Ursprüngliche Mail -
Von: "Srinivasarao Pathipati"
static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
{
- struct uml_pt_regs r;
+ struct uml_pt_regs *r;
int save_errno = errno;
- r.is_
- Ursprüngliche Mail -
> Von: "Srinivasarao Pathipati"
> static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
> {
> - struct uml_pt_regs r;
> + struct uml_pt_regs *r;
> int save_errno = errno;
>
> - r.is_user = 0;
> + r = malloc(sizeof(struct u
Use dynamic allocation in sig_handler_common() and in
timer_real_alarm_handler() to fix below warnings and build
failures where CONFIG_WERROR is enabled.
arch/um/os-Linux/signal.c: In function ‘sig_handler_common’:
arch/um/os-Linux/signal.c:51:1: error: the frame size of 2960 bytes is larger
than