lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMn1LHB_XKNx_9VortrmxAmPrHxY--wp4eyUpg0GzjCjOvjv3A@mail.gmail.com>
Date: Mon, 19 Feb 2024 08:03:44 +0100
From: Moritz Christian Weber <mo.c.weber@...il.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: florian.fainelli@...adcom.com, linux-staging@...ts.linux.dev, 
	linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: vc04_services: bcm2835-camera: fixed several
 brace coding style checks

Hi Dan,
thank for highlighting this. I have redone, split and resubmitted the
whole patch yesterday due to the issues Gregs patch bot raised. The
patches build, are checkpatched and also survive a last look. The two
issues that I introduced and which you raised have been not reproduced
in the new submission.

Best regards,
Moritz

On Mon, Feb 19, 2024 at 7:39 AM Dan Carpenter <dan.carpenter@...aroorg> wrote:
>
> On Thu, Feb 15, 2024 at 11:06:47PM +0100, Moritz C. Weber wrote:
> > @@ -406,12 +405,11 @@ static void buffer_cb(struct vchiq_mmal_instance *instance,
> >           is_capturing(dev)) {
> >               v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev,
> >                        "Grab another frame as buffer has EOS");
> > -             vchiq_mmal_port_parameter_set(
> > -                     instance,
> > -                     dev->capture.camera_port,
> > -                     MMAL_PARAMETER_CAPTURE,
> > -                     &dev->capture.frame_count,
> > -                     sizeof(dev->capture.frame_count));
> > +             vchiq_mmal_port_parameter_set(instance,
> > +                                           dev->capture.camera_port,
> > +                                           MMAL_PARAMETER_CAPTURE,
> > +                                           #N(#O(#O(#O(#O(&dev->capture.frame_count,
>                                               ^^^^^^^^^^^^^^^^
>
> Wut?
>
> > +                                           sizeof(dev->capture.frame_count));
> >       }
> >  }
> >
> > @@ -420,11 +418,11 @@ static int enable_camera(struct bcm2835_mmal_dev *dev)
> >       int ret;
> >
> >       if (!dev->camera_use_count) {
> > -             ret = vchiq_mmal_port_parameter_set(
> > -                     dev->instance,
> > -                     &dev->component[COMP_CAMERA]->control,
> > -                     MMAL_PARAMETER_CAMERA_NUM, &dev->camera_num,
> > -                     sizeof(dev->camera_num));
> > +             ret = vchiq_mmal_port_parameter_set(dev->instance,
> > +                                                 &dev->component[COMP_CAMERA]->control,
> > +                                                 MMAL_PARAMETER_CAMERA_NUM,
> > +                                                 &dev->camera_num,
> > +                                                 **sizeof(dev->camera_num));
>
> Also Wut???
>
>
> regards,
> dan carpenter
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ