Re: [PATCH] mac802154_hwsim: allow users to specify the number of simulated radios dinamically instead of the previously hardcoded value of 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, Jun 7, 2025 at 5:42 PM Ramon Fontes <ramonreisfontes@xxxxxxxxx> wrote:
>
> Ok! Just a last question:
>
> Shouldn't we define a maximum number of supported radios when using
> unsigned? A value like -1 would wrap around and result in thousands of
> radios, right?
> That said, wouldn't it be simpler and safer to just use int instead?

there is no limitation to add some during runtime. It requires root
permissions and you need to know what you are doing when you are root.

- Alex






[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux