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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240423192930.okhvbvlao6ke3pkl@DEN-DL-M70577>
Date: Tue, 23 Apr 2024 19:29:30 +0000
From: Daniel Machon <daniel.machon@...rochip.com>
To: Simon Horman <horms@...nel.org>
CC: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
	<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
	<pabeni@...hat.com>, Bryan Whitehead <bryan.whitehead@...rochip.com>,
	"Richard Cochran" <richardcochran@...il.com>, Horatiu Vultur
	<horatiu.vultur@...rochip.com>, Lars Povlsen <lars.povlsen@...rochip.com>,
	Steen Hegelund <Steen.Hegelund@...rochip.com>,
	<UNGLinuxDriver@...rochip.com>, <netdev@...r.kernel.org>,
	<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH net-next 4/4] net: sparx5: Correct spelling in comments

> On Tue, Apr 23, 2024 at 02:54:17PM +0100, Simon Horman wrote:
> > On Tue, Apr 23, 2024 at 11:29:15AM +0000, Daniel Machon wrote:
> > > > > Hi Simon,
> > > > >
> > > > > > -/* Convert validation error code into tc extact error message */
> > > > > > +/* Convert validation error code into tc exact error message */
> > > > >
> > > > > This seems wrong. I bet it refers to the 'netlink_ext_ack' struct. So
> > > > > the fix should be 'extack' instead.
> > > > >
> > > > > >  void vcap_set_tc_exterr(struct flow_cls_offload *fco, struct vcap_rule *vrule)
> > > > > >  {
> > > > > >         switch (vrule->exterr) {
> > > > > > diff --git a/drivers/net/ethernet/microchip/vcap/vcap_api_client.h b/drivers/net/ethernet/microchip/vcap/vcap_api_client.h
> > > > > > index 56874f2adbba..d6c3e90745a7 100644
> > > > > > --- a/drivers/net/ethernet/microchip/vcap/vcap_api_client.h
> > > > > > +++ b/drivers/net/ethernet/microchip/vcap/vcap_api_client.h
> > > > > > @@ -238,7 +238,7 @@ const struct vcap_set *vcap_keyfieldset(struct vcap_control *vctrl,
> > > > > >  /* Copy to host byte order */
> > > > > >  void vcap_netbytes_copy(u8 *dst, u8 *src, int count);
> > > > > >
> > > > > > -/* Convert validation error code into tc extact error message */
> > > > > > +/* Convert validation error code into tc exact error message */
> > > > >
> > > > > Same here.
> > > >
> > > > Thanks Daniel,
> > > >
> > > > Silly me. I'll drop these changes in v2.
> > >
> > > No reason to drop them just change it to 'extack' :-)
> >
> > Thanks, will do.
> 
> Sorry, I am somehow confused.
> 
> Do you mean like this?
> 
> /* Convert validation error code into extact error message */
> 
> Or just leave things unchanged?
> 
> /* Convert validation error code into tc extact error message */

Should be:

  /* Convert validation error code into tc extack error message */

So the misspelling was real, just the fix was extack and not exact.

/Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ