Peter Maydell  
		
	
	
		a29a977640 
		
	 
	
	
	hw/misc/nrf51_rng: Don't use BIT_MASK() when we mean BIT()  
		
			... 
			The BIT_MASK() macro from bitops.h provides the mask of a bit
within a particular word of a multi-word bit array; it is intended
to be used with its counterpart BIT_WORD() that gives the index
of the word in the array.
In nrf51_rng we are using it for cases where we have a bit number
that we know is the index of a bit within a single word (in fact, it
happens that all the bit numbers we pass to it are zero). This
happens to give the right answer, but the macro that actually
does the job we want here is BIT().
Use BIT() instead of BIT_MASK().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20241108135644.4007151-1-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> 
		
	 
 
		2024-11-18 13:36:39 +01:00 
	 
	
	
		  ..
	 
	
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2023-12-30 07:38:06 +11:00 
		 
	
		
			
			
			
			
			
			2023-12-30 07:38:06 +11:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2020-01-24 20:59:15 +01:00 
		 
	
		
			
			
			
			
			
			2021-02-11 11:50:14 +00:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2021-03-08 11:54:16 +00:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2021-09-01 11:08:18 +01:00 
		 
	
		
			
			
			
			
			
			2024-10-24 07:57:47 +02:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-06-16 21:08:54 +02:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2023-01-18 11:14:34 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2023-12-30 07:38:06 +11:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-07-29 16:55:59 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-06-04 11:53:43 +02:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-07-02 06:58:48 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2022-08-08 23:43:11 +02:00 
		 
	
		
			
			
			
			
			
			2023-10-12 14:11:44 +02:00 
		 
	
		
			
			
			
			
			
			2024-09-13 20:12:16 +02:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2019-08-16 13:31:53 +02:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2021-03-08 17:20:01 +00:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-10-15 15:16:17 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 20:12:16 +02:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2023-01-06 10:42:55 +10:00 
		 
	
		
			
			
			
			
			
			2023-01-06 10:42:55 +10:00 
		 
	
		
			
			
			
			
			
			2024-10-15 11:29:45 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2023-12-30 07:38:06 +11:00 
		 
	
		
			
			
			
			
			
			2024-11-18 13:36:39 +01:00 
		 
	
		
			
			
			
			
			
			2024-10-01 14:57:55 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-07-01 17:16:04 -04:00 
		 
	
		
			
			
			
			
			
			2024-07-01 17:16:04 -04:00 
		 
	
		
			
			
			
			
			
			2024-07-01 17:16:04 -04:00 
		 
	
		
			
			
			
			
			
			2023-01-12 17:15:09 +00:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2021-05-02 17:24:50 +02:00 
		 
	
		
			
			
			
			
			
			2023-10-12 12:34:30 +10:00 
		 
	
		
			
			
			
			
			
			2023-01-26 13:25:07 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-10-15 11:29:45 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-07-11 11:41:34 +01:00 
		 
	
		
			
			
			
			
			
			2024-08-13 11:34:56 +01:00 
		 
	
		
			
			
			
			
			
			2024-10-15 11:29:45 +01:00 
		 
	
		
			
			
			
			
			
			2024-10-15 11:29:45 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-21 06:18:24 -04:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-28 10:02:46 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2023-12-30 07:38:06 +11:00 
		 
	
		
			
			
			
			
			
			2023-09-08 16:41:34 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-13 15:31:44 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-09-05 13:12:36 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-04-25 10:21:06 +01:00 
		 
	
		
			
			
			
			
			
			2024-07-01 15:40:54 +01:00